Module: wine Branch: refs/heads/master Commit: 182a66c0db3a9fa45c032f82f45ff155e3120ff5 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=182a66c0db3a9fa45c032f82...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Sat Mar 4 18:16:26 2006 +0800
winebrowser: Use CP_UNIXCP when translating URL passed on command line to unicode.
---
programs/winebrowser/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winebrowser/main.c b/programs/winebrowser/main.c index 094468f..f5ecfc8 100644 --- a/programs/winebrowser/main.c +++ b/programs/winebrowser/main.c @@ -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;