* Sync up to trunk head (r65394).
[reactos.git] / boot / freeldr / freeldr / reactos / registry.c
index d88688a..5733d18 100644 (file)
@@ -119,7 +119,7 @@ RegInitCurrentControlSet(
         return Error;
     }
 
-    CurrentSet = (LastKnownGood == TRUE) ? LastKnownGoodSet : DefaultSet;
+    CurrentSet = (LastKnownGood) ? LastKnownGoodSet : DefaultSet;
     wcscpy(ControlSetKeyName, L"ControlSet");
     switch(CurrentSet)
     {