mshtml: Fixed last argument to MultiByteToWideChar.
This commit is contained in:
parent
55b504cc88
commit
2febaf6438
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue