Paul Vriens : mscoree/tests: Use the correct wide string compare to cope with Win9x.

Alexandre Julliard julliard at winehq.org
Tue Nov 23 09:38:24 CST 2010


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Mon Nov 22 11:41:13 2010 +0100

mscoree/tests: Use the correct wide string compare to cope with Win9x.

---

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

diff --git a/dlls/mscoree/tests/mscoree.c b/dlls/mscoree/tests/mscoree.c
index 1b3cd77..01515b6 100644
--- a/dlls/mscoree/tests/mscoree.c
+++ b/dlls/mscoree/tests/mscoree.c
@@ -149,12 +149,12 @@ static void test_versioninfo(void)
     memset(version, 0, sizeof(version));
     hr = pGetRequestedRuntimeInfo( NULL, v2_0, NULL, 0, 0, NULL, MAX_PATH, &path_len, version, MAX_PATH, &size);
     ok(hr == S_OK, "GetRequestedRuntimeInfo returned %08x\n", hr);
-    ok(!lstrcmpW(version, v2_0), "version is %s , expected %s\n", wine_dbgstr_w(version), wine_dbgstr_w(v2_0));
+    ok(!winetest_strcmpW(version, v2_0), "version is %s , expected %s\n", wine_dbgstr_w(version), wine_dbgstr_w(v2_0));
     /* With NULL-pointer for bufferlength, the buffer itsself still gets filled with correct string */
     memset(version, 0, sizeof(version));
     hr = pGetRequestedRuntimeInfo( NULL, v2_0, NULL, 0, 0, path, MAX_PATH, &path_len, version, MAX_PATH, NULL);
     ok(hr == S_OK, "GetRequestedRuntimeInfo returned %08x\n", hr);
-    ok(!lstrcmpW(version, v2_0), "version is %s , expected %s\n", wine_dbgstr_w(version), wine_dbgstr_w(v2_0));
+    ok(!winetest_strcmpW(version, v2_0), "version is %s , expected %s\n", wine_dbgstr_w(version), wine_dbgstr_w(v2_0));
 }
 
 static void test_loadlibraryshim(void)




More information about the wine-cvs mailing list