kernel32: Fix processing of spaces in command line for builtin exes.
This commit is contained in:
parent
808c29b908
commit
be0db98a23
|
@ -1967,8 +1967,8 @@ static LPWSTR get_file_name( LPCWSTR appname, LPWSTR cmdline, LPWSTR buffer,
|
||||||
ret = cmdline;
|
ret = cmdline;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!(*pos++ = *p++)) break;
|
|
||||||
if (!first_space) first_space = pos;
|
if (!first_space) first_space = pos;
|
||||||
|
if (!(*pos++ = *p++)) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
|
|
Loading…
Reference in New Issue