Dmitry Timoshkov : winebrowser:
Use CP_UNIXCP when translating URL passed on command line
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Mar 4 11:10:00 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 182a66c0db3a9fa45c032f82f45ff155e3120ff5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=182a66c0db3a9fa45c032f82f45ff155e3120ff5
Author: Dmitry Timoshkov <dmitry at 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;
More information about the wine-cvs
mailing list