[KERNEL32]: Fix incorrect bracing which was causing SearchPath failures to enter...
authorAlex Ionescu <aionescu@gmail.com>
Sun, 4 Aug 2013 20:46:55 +0000 (20:46 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sun, 4 Aug 2013 20:46:55 +0000 (20:46 +0000)
svn path=/trunk/; revision=59642

reactos/dll/win32/kernel32/client/path.c
reactos/dll/win32/kernel32/client/proc.c

index a6e1692..4b73357 100644 (file)
@@ -401,7 +401,7 @@ WINAPI
 BaseComputeProcessExePath(IN LPWSTR FullPath)
 {
     PBASE_SEARCH_PATH_TYPE PathOrder;
-    DPRINT1("Computing EXE path: %wZ\n", FullPath);
+    DPRINT1("Computing EXE path: %S\n", FullPath);
 
     /* Check if we should use the current directory */
     PathOrder = NeedCurrentDirectoryForExePathW(FullPath) ?
index 5d129d3..23f059a 100644 (file)
@@ -2733,11 +2733,11 @@ StartScan:
                 /* This was a directory, fail later on */
                 Length = 0;
             }
-        }
-        else
-        {
-            /* It's a file! */
-            Length++;
+            else
+            {
+                /* It's a file! */
+                Length++;
+            }
         }
 
         DPRINT1("Length: %lx Buffer: %S\n", Length, NameBuffer);