kernel32: Fix processing of spaces in command line for builtin exes.

This commit is contained in:
Alexandre Julliard 2010-03-29 19:37:35 +02:00
parent 808c29b908
commit be0db98a23
1 changed files with 1 additions and 1 deletions

View File

@ -1967,8 +1967,8 @@ static LPWSTR get_file_name( LPCWSTR appname, LPWSTR cmdline, LPWSTR buffer,
ret = cmdline;
break;
}
if (!(*pos++ = *p++)) break;
if (!first_space) first_space = pos;
if (!(*pos++ = *p++)) break;
}
if (!ret)