notepad: Fix parsing of quoted command line.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-10-21 17:11:08 +02:00
parent ceb32f6683
commit bc968469f2
1 changed files with 2 additions and 0 deletions

View File

@ -629,6 +629,8 @@ static void HandleCommandLine(LPWSTR cmdline)
if (*cmdline == delimiter) cmdline++;
while (*cmdline == ' ') cmdline++;
ptr = cmdline;
while (*ptr == ' ' || *ptr == '-' || *ptr == '/')
{