From: Hermès Bélusca-Maïto Date: Wed, 5 Nov 2014 12:45:47 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/tcpip_revolution@71025~84 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=895a44acc91d49acd2d8a1f9a6df96943608b3cf [FAST486] - Fix another typo (addendum to r65263). - Whitespace fixes. svn path=/trunk/; revision=65264 --- diff --git a/reactos/lib/fast486/common.c b/reactos/lib/fast486/common.c index 9cbc8217f6c..61a120b8f7f 100644 --- a/reactos/lib/fast486/common.c +++ b/reactos/lib/fast486/common.c @@ -700,9 +700,9 @@ Fast486TaskSwitch(PFAST486_STATE State, FAST486_TASK_SWITCH_TYPE Type, USHORT Se } if (!Fast486ReadDescriptorEntry(State, - NewTss.Ldtr, - &Valid, - (PFAST486_GDT_ENTRY)&GdtEntry)) + NewTss.Ldtr, + &Valid, + (PFAST486_GDT_ENTRY)&GdtEntry)) { /* Exception occurred */ return FALSE; diff --git a/reactos/lib/fast486/extraops.c b/reactos/lib/fast486/extraops.c index 0b96d31c33e..6a73fb8fe86 100644 --- a/reactos/lib/fast486/extraops.c +++ b/reactos/lib/fast486/extraops.c @@ -1689,7 +1689,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsf) for (i = 0; i < DataSize; i++) { - if(Value & (1 << i)) + if (Value & (1 << i)) { /* Save the bit number */ BitNumber = i; @@ -1758,7 +1758,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsr) for (i = DataSize - 1; i >= 0; i--) { - if(Value & (1 << i)) + if (Value & (1 << i)) { /* Save the bit number */ BitNumber = i; diff --git a/reactos/lib/fast486/opgroups.c b/reactos/lib/fast486/opgroups.c index 5f1f9c73578..95a99cc9f5c 100644 --- a/reactos/lib/fast486/opgroups.c +++ b/reactos/lib/fast486/opgroups.c @@ -1765,10 +1765,10 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00) 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 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00) } if (!Fast486ReadDescriptorEntry(State, - Selector, - &Valid, - (PFAST486_GDT_ENTRY)&GdtEntry)) + Selector, + &Valid, + (PFAST486_GDT_ENTRY)&GdtEntry)) { /* Exception occurred */ return;