Commit 74bb5510 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

shlwapi: Fix size passed to MultiByteToWideChar.

parent ac647156
......@@ -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;
......
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