[KERNEL32]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 1 Feb 2014 22:24:46 +0000 (22:24 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 1 Feb 2014 22:24:46 +0000 (22:24 +0000)
Fix an infinite loop bug in CreateProcessInternalW.

svn path=/branches/ntvdm/; revision=61909

dll/win32/kernel32/client/proc.c

index 23ccfbd..a37776d 100644 (file)
@@ -3198,7 +3198,7 @@ StartScan:
                     /* Pick which kind of WOW mode we want to run in */
                     VdmBinaryType = (dwCreationFlags &
                                      CREATE_SEPARATE_WOW_VDM) ?
-                                     BINARY_TYPE_WOW : BINARY_TYPE_SEPARATE_WOW;
+                                     BINARY_TYPE_SEPARATE_WOW : BINARY_TYPE_WOW;
 
                     /* Get all the VDM settings and current status */
                     Status = BaseCheckVDM(VdmBinaryType,