[SETUP/LIB] Fix wrong if() logic. CID1441307
[reactos.git] / base / setup / lib / utils / bldrsup.c
index 4848831..554cfc3 100644 (file)
@@ -1150,7 +1150,7 @@ QueryBootStoreOptions(
     //
 
     // if (BootStore->Type >= BldrTypeMax || NtosBootLoaders[BootStore->Type].Type >= BldrTypeMax)
-    if (BootStore->Type != FreeLdr || BootStore->Type != NtLdr)
+    if (BootStore->Type != FreeLdr && BootStore->Type != NtLdr)
     {
         DPRINT1("Loader type %d is currently unsupported!\n", NtosBootLoaders[BootStore->Type].Type);
         return STATUS_NOT_SUPPORTED;