Author: hbelusca
Date: Wed Nov  5 12:45:47 2014
New Revision: 65264

URL: http://svn.reactos.org/svn/reactos?rev=65264&view=rev
Log:
[FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

Modified:
    trunk/reactos/lib/fast486/common.c
    trunk/reactos/lib/fast486/extraops.c
    trunk/reactos/lib/fast486/opgroups.c

Modified: trunk/reactos/lib/fast486/common.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.c?rev=65264&r1=65263&r2=65264&view=diff
==============================================================================
--- trunk/reactos/lib/fast486/common.c  [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/common.c  [iso-8859-1] Wed Nov  5 12:45:47 2014
@@ -700,9 +700,9 @@
         }
 
         if (!Fast486ReadDescriptorEntry(State,
-                                       NewTss.Ldtr,
-                                       &Valid,
-                                       (PFAST486_GDT_ENTRY)&GdtEntry))
+                                        NewTss.Ldtr,
+                                        &Valid,
+                                        (PFAST486_GDT_ENTRY)&GdtEntry))
         {
             /* Exception occurred */
             return FALSE;

Modified: trunk/reactos/lib/fast486/extraops.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/extraops.c?rev=65264&r1=65263&r2=65264&view=diff
==============================================================================
--- trunk/reactos/lib/fast486/extraops.c        [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/extraops.c        [iso-8859-1] Wed Nov  5 
12:45:47 2014
@@ -1689,7 +1689,7 @@
 
     for (i = 0; i < DataSize; i++)
     {
-        if(Value & (1 << i))
+        if (Value & (1 << i))
         {
             /* Save the bit number */
             BitNumber = i;
@@ -1758,7 +1758,7 @@
 
     for (i = DataSize - 1; i >= 0; i--)
     {
-        if(Value & (1 << i))
+        if (Value & (1 << i))
         {
             /* Save the bit number */
             BitNumber = i;

Modified: trunk/reactos/lib/fast486/opgroups.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/opgroups.c?rev=65264&r1=65263&r2=65264&view=diff
==============================================================================
--- trunk/reactos/lib/fast486/opgroups.c        [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/opgroups.c        [iso-8859-1] Wed Nov  5 
12:45:47 2014
@@ -1765,10 +1765,10 @@
                 return;
             }
 
-            if (Fast486ReadDescriptorEntry(State,
-                                           Selector,
-                                           &Valid,
-                                           (PFAST486_GDT_ENTRY)&GdtEntry))
+            if (!Fast486ReadDescriptorEntry(State,
+                                            Selector,
+                                            &Valid,
+                                            (PFAST486_GDT_ENTRY)&GdtEntry))
             {
                 /* Exception occurred */
                 return;
@@ -1848,9 +1848,9 @@
             }
 
             if (!Fast486ReadDescriptorEntry(State,
-                                           Selector,
-                                           &Valid,
-                                           (PFAST486_GDT_ENTRY)&GdtEntry))
+                                            Selector,
+                                            &Valid,
+                                            (PFAST486_GDT_ENTRY)&GdtEntry))
             {
                 /* Exception occurred */
                 return;


Reply via email to