Commit ea48acb5 authored by Jan Nieuwenhuizen's avatar Jan Nieuwenhuizen Committed by Alexandre Julliard

Windows XP does not always include the executable file name on the

command line.
parent 137e54dd
......@@ -238,11 +238,10 @@ static void HandleCommandLine(LPWSTR cmdline)
/* skip executable name */
delimiter = (*cmdline == '"' ? '"' : ' ');
do
{
cmdline++;
}
while (*cmdline && *cmdline != delimiter);
if (*cmdline == delimiter) cmdline++;
while (*cmdline && *cmdline != delimiter) cmdline++;
if (*cmdline == delimiter) cmdline++;
while (*cmdline == ' ' || *cmdline == '-' || *cmdline == '/')
......
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