urlmon: Fixed a chars vs bytes mismatch.

This commit is contained in:
Marcus Meissner 2013-08-01 07:41:04 +02:00 committed by Alexandre Julliard
parent c803d53b13
commit e89c801b50
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ static HRESULT (WINAPI *pIEInstallScope)(DWORD*);
static int strcmp_wa(const WCHAR *strw, const char *stra) static int strcmp_wa(const WCHAR *strw, const char *stra)
{ {
WCHAR buf[512]; WCHAR buf[512];
MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf)); MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf)/sizeof(WCHAR));
return lstrcmpW(strw, buf); return lstrcmpW(strw, buf);
} }