mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
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 a new issue