winebrowser: Use CP_UNIXCP when translating URL passed on command line

to unicode.
oldstable
Dmitry Timoshkov 2006-03-04 18:16:26 +08:00 committed by Alexandre Julliard
parent bd82e82993
commit 182a66c0db
1 changed files with 1 additions and 1 deletions

View File

@ -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;