Commit 981d69ad authored by Alexandre Julliard's avatar Alexandre Julliard

winemenubuilder: Silence out of bounds compiler warning.

parent 6624cabb
......@@ -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);
......
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