Commit 182a66c0 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winebrowser: Use CP_UNIXCP when translating URL passed on command line

to unicode.
parent bd82e829
......@@ -199,7 +199,7 @@ int main(int argc, char *argv[])
char *unixpath;
WCHAR unixpathW[MAX_PATH];
MultiByteToWideChar( CP_ACP, 0, url, -1, unixpathW, MAX_PATH );
MultiByteToWideChar( CP_UNIXCP, 0, url, -1, unixpathW, MAX_PATH );
if ((unixpath = wine_get_unix_file_name_ptr( unixpathW )))
{
struct stat dummy;
......
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