mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 20:04:59 +00:00
shlwapi: Fix size passed to MultiByteToWideChar.
This commit is contained in:
parent
ac647156d8
commit
74bb551081
@ -191,7 +191,7 @@ HRESULT WINAPI ParseURLA(LPCSTR x, PARSEDURLA *y)
|
||||
y->cchSuffix = lstrlenA(y->pszSuffix);
|
||||
|
||||
len = MultiByteToWideChar(CP_ACP, 0, y->pszProtocol, y->cchProtocol,
|
||||
scheme, sizeof(scheme));
|
||||
scheme, sizeof(scheme)/sizeof(WCHAR));
|
||||
y->nScheme = get_scheme_code(scheme, len);
|
||||
|
||||
return S_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user