diff --git a/reactos/subsys/system/cmd/misc.c b/reactos/subsys/system/cmd/misc.c index 770d9990f83..38843619a1e 100644 --- a/reactos/subsys/system/cmd/misc.c +++ b/reactos/subsys/system/cmd/misc.c @@ -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; }