Alexandre Julliard : msvcrt/tests: Avoid winetest_strcmpW.

Alexandre Julliard julliard at winehq.org
Fri Nov 29 13:17:29 CST 2019


Module: wine
Branch: master
Commit: 65049191ab7f9404147ae00f3596347ee186c270
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=65049191ab7f9404147ae00f3596347ee186c270

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov 29 13:57:46 2019 +0100

msvcrt/tests: Avoid winetest_strcmpW.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/tests/environ.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrt/tests/environ.c b/dlls/msvcrt/tests/environ.c
index b8e0ae6251..43115d86da 100644
--- a/dlls/msvcrt/tests/environ.c
+++ b/dlls/msvcrt/tests/environ.c
@@ -228,7 +228,7 @@ static void test__wenviron(void)
         if ((*p_wenviron)[i])
         {
             ok( wenvp[i] != NULL, "Expected environment block pointer element to be non-NULL\n" );
-            ok( !winetest_strcmpW((*p_wenviron)[i], wenvp[i]),
+            ok( !wcscmp((*p_wenviron)[i], wenvp[i]),
                 "Expected _wenviron and environment block pointer strings (%s vs. %s) to match\n",
                 wine_dbgstr_w((*p_wenviron)[i]), wine_dbgstr_w(wenvp[i]) );
         }




More information about the wine-cvs mailing list