start: Avoid duplicate backslashes in command line.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 1b4b4a9bb5
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
7515889470
commit
ea2a235727
|
@ -280,7 +280,7 @@ static BOOL search_path(const WCHAR *firstParam, WCHAR **full_path)
|
|||
GetFullPathNameW(temp, MAX_PATH, thisDir, NULL);
|
||||
|
||||
/* 1. If extension supplied, see if that file exists */
|
||||
lstrcatW(thisDir, L"\\");
|
||||
if (thisDir[lstrlenW(thisDir) - 1] != '\\') lstrcatW(thisDir, L"\\");
|
||||
lstrcatW(thisDir, stemofsearch);
|
||||
pos = &thisDir[lstrlenW(thisDir)]; /* Pos = end of name */
|
||||
|
||||
|
|
Loading…
Reference in New Issue