Check for NULL char and not '\' ;)
authorBrandon Turner <turnerb7@msu.edu>
Sun, 8 Jan 2006 21:26:34 +0000 (21:26 +0000)
committerBrandon Turner <turnerb7@msu.edu>
Sun, 8 Jan 2006 21:26:34 +0000 (21:26 +0000)
svn path=/trunk/; revision=20733

reactos/subsys/system/cmd/misc.c

index 770d999..3884361 100644 (file)
@@ -372,7 +372,7 @@ LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards)
                {
       /* Check to make sure if there is no ending "
        * we dont run over the null char */
-      if(*s != _T('/'))
+      if(*s == _T('\0'))
       {
         break;
       }