shlwapi: Fix size passed to MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2007-02-20 22:52:07 +01:00 committed by Alexandre Julliard
parent ac647156d8
commit 74bb551081
1 changed files with 1 additions and 1 deletions

View File

@ -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;