shlwapi: Fix MLBuildResURLW implementation.
This commit is contained in:
parent
db137cc975
commit
147ea8b7c6
|
@ -2384,7 +2384,7 @@ HRESULT WINAPI MLBuildResURLW(LPCWSTR lpszLibName, HMODULE hMod, DWORD dwFlags,
|
|||
dwResLen = strlenW(lpszRes) + 1;
|
||||
if (dwDestLen >= dwResLen + 1)
|
||||
{
|
||||
lpszDest[szResLen + dwPathLen + dwResLen] = '/';
|
||||
lpszDest[szResLen + dwPathLen-1] = '/';
|
||||
memcpy(lpszDest + szResLen + dwPathLen, lpszRes, dwResLen * sizeof(WCHAR));
|
||||
hRet = S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue