Module: wine Branch: master Commit: 58bff4e3f88b342bcb3934802e9a227c1b15ae66 URL: http://source.winehq.org/git/wine.git/?a=commit;h=58bff4e3f88b342bcb3934802e...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Wed Mar 16 18:45:34 2011 +0800
advapi32: Fix the English language check.
---
dlls/advapi32/tests/security.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 74afc7b..e292e96 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -1917,7 +1917,7 @@ static void test_LookupAccountName(void) domain_size = domain_save; sid_size = sid_save;
- if (GetSystemDefaultLangID() != LANG_ENGLISH) + if (PRIMARYLANGID(GetSystemDefaultLangID()) != LANG_ENGLISH) { skip("Non-english locale (test with hardcoded 'Everyone')\n"); } @@ -2055,7 +2055,7 @@ static void test_LookupAccountName(void) return; }
- if (GetSystemDefaultLangID() != LANG_ENGLISH) + if (PRIMARYLANGID(GetSystemDefaultLangID()) != LANG_ENGLISH) { skip("Non-english locale (skipping well known name creation tests)\n"); return; @@ -2542,7 +2542,7 @@ static void test_SetEntriesInAclW(void) ok(NewAcl != NULL, "returned acl was NULL\n"); LocalFree(NewAcl);
- if (GetSystemDefaultLangID() != LANG_ENGLISH) + if (PRIMARYLANGID(GetSystemDefaultLangID()) != LANG_ENGLISH) { skip("Non-english locale (test with hardcoded 'Everyone')\n"); } @@ -2673,7 +2673,7 @@ static void test_SetEntriesInAclA(void) ok(NewAcl != NULL, "returned acl was NULL\n"); LocalFree(NewAcl);
- if (GetSystemDefaultLangID() != LANG_ENGLISH) + if (PRIMARYLANGID(GetSystemDefaultLangID()) != LANG_ENGLISH) { skip("Non-english locale (test with hardcoded 'Everyone')\n"); }