Paul Vriens : shlwapi/tests: Use a codepage that is supported on all platforms.

Alexandre Julliard julliard at winehq.org
Fri Dec 5 07:42:58 CST 2008


Module: wine
Branch: master
Commit: 8fc42993a1779d7984f7ea9552c080b1a36524dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8fc42993a1779d7984f7ea9552c080b1a36524dd

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Dec  5 08:49:08 2008 +0100

shlwapi/tests: Use a codepage that is supported on all platforms.

---

 dlls/shlwapi/tests/url.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shlwapi/tests/url.c b/dlls/shlwapi/tests/url.c
index 7ae79bc..80aee98 100644
--- a/dlls/shlwapi/tests/url.c
+++ b/dlls/shlwapi/tests/url.c
@@ -746,7 +746,7 @@ static void test_UrlCanonicalizeW(void)
         BOOL choped;
         int pos;
 
-        MultiByteToWideChar(CP_UTF8, 0, "http://www.winehq.org/X", -1, szUrl, 128);
+        MultiByteToWideChar(CP_ACP, 0, "http://www.winehq.org/X", -1, szUrl, 128);
         pos = lstrlenW(szUrl) - 1;
         szUrl[pos] = i;
         urllen = INTERNET_MAX_URL_LENGTH;




More information about the wine-cvs mailing list