kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA.

This commit is contained in:
Alexandre Julliard 2008-11-26 12:04:32 +01:00
parent 0b7478a79f
commit f0483957dd

View File

@ -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;