mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
Check for NULL char and not '\' ;)
svn path=/trunk/; revision=20733
This commit is contained in:
parent
183e4c4a5f
commit
79678edae8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue