From f0483957ddc8d74070b7d6b3497bb56c0883ae32 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 26 Nov 2008 12:04:32 +0100 Subject: [PATCH] kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA. --- dlls/kernel32/tests/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c index c5f3ddb90eb..4dce7335e0b 100644 --- a/dlls/kernel32/tests/locale.c +++ b/dlls/kernel32/tests/locale.c @@ -2163,7 +2163,7 @@ static void test_EnumSystemLanguageGroupsA(void) /* No enumeration proc */ SetLastError(0); ret = pEnumSystemLanguageGroupsA(0, LGRPID_INSTALLED, 0); - if (ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) + if (!ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) { win_skip("EnumSystemLanguageGroupsA is not implemented\n"); return; -- 2.11.4.GIT