Check for NULL char and not '\' ;)

svn path=/trunk/; revision=20733
This commit is contained in:
Brandon Turner 2006-01-08 21:26:34 +00:00
parent 183e4c4a5f
commit 79678edae8

View 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;
}