Commit be0db98a authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 808c29b9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment