Commit fbeb1b4a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use UTF-8 encoding in is_gecko_path.

parent ac41380b
......@@ -1100,8 +1100,8 @@ BOOL is_gecko_path(const char *path)
WCHAR *buf, *ptr;
BOOL ret;
buf = heap_strdupAtoW(path);
if(strlenW(buf) < gecko_path_len)
buf = heap_strdupUtoW(path);
if(!buf || strlenW(buf) < gecko_path_len)
return FALSE;
buf[gecko_path_len] = 0;
......
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