Alexandre Julliard : kernel32: Fix processing of spaces in command line for builtin exes.
Alexandre Julliard
julliard at winehq.org
Tue Mar 30 10:39:43 CDT 2010
Module: wine
Branch: master
Commit: be0db98a232f208e8b011d86ad15f4b9b8eacbc7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=be0db98a232f208e8b011d86ad15f4b9b8eacbc7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 29 19:37:35 2010 +0200
kernel32: Fix processing of spaces in command line for builtin exes.
---
dlls/kernel32/process.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 0a404bc..541c794 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -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)
More information about the wine-cvs
mailing list