mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kernel32: Don't test the invalid locale 0 if it is enumerated.
This commit is contained in:
parent
a3b7030ee8
commit
e92f9054dd
1 changed files with 4 additions and 0 deletions
|
@ -2056,6 +2056,10 @@ static BOOL CALLBACK lgrplocale_procA(LGRPID lgrpid, LCID lcid, LPSTR lpszNum,
|
|||
{
|
||||
trace("%08x, %08x, %s, %08lx\n", lgrpid, lcid, lpszNum, lParam);
|
||||
|
||||
/* invalid locale enumerated on some platforms */
|
||||
if (lcid == 0)
|
||||
return TRUE;
|
||||
|
||||
ok(pIsValidLanguageGroup(lgrpid, LGRPID_SUPPORTED) == TRUE,
|
||||
"Enumerated grp %d not valid\n", lgrpid);
|
||||
ok(IsValidLocale(lcid, LCID_SUPPORTED) == TRUE,
|
||||
|
|
Loading…
Reference in a new issue