mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Check for NULL char and not '\' ;)
svn path=/trunk/; revision=20733
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user