winemenubuilder: Silence out of bounds compiler warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6624cabbb7
commit
981d69ada6
@ -2902,7 +2902,7 @@ static BOOL InvokeShellLinker( IShellLinkW *sl, LPCWSTR link, BOOL bWait )
|
||||
|
||||
szArgs[0] = '"';
|
||||
lstrcpyW(szArgs + 1, szPath);
|
||||
p[-1] = '"';
|
||||
szArgs[lstrlenW(szArgs)] = '"';
|
||||
|
||||
GetWindowsDirectoryW(szPath, MAX_PATH);
|
||||
lstrcatW(szPath, startW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user