winebrowser: Use CP_UNIXCP when translating URL passed on command line
to unicode.
This commit is contained in:
parent
bd82e82993
commit
182a66c0db
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue