mshtml: Fixed last argument to MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2009-02-04 19:02:26 +01:00 committed by Alexandre Julliard
parent 55b504cc88
commit 2febaf6438
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ static LPWSTR get_url(void)
if(size > sizeof(httpW) && !memcmp(url, httpW, sizeof(httpW))) {
strcatW(url, v_formatW);
MultiByteToWideChar(CP_ACP, 0, GECKO_VERSION, -1, url+strlenW(url), -1);
MultiByteToWideChar(CP_ACP, 0, GECKO_VERSION, -1, url+strlenW(url), (size-strlenW(url))/sizeof(WCHAR));
}
TRACE("Got URL %s\n", debugstr_w(url));