mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 08:38:17 +00:00
[kernel32]
- Passing 0 flags to EnumSystemLocales behaves like passing LCID_SUPPORTED, so be it - Ref: http://msdn.microsoft.com/en-us/library/dd317828%28VS.85%29.aspx - Fixes mlang winetest crash, now it hangs after executing some hundred tests, bug #4999 svn path=/trunk/; revision=44527
This commit is contained in:
parent
3953b7855d
commit
8b437dd7b2
1 changed files with 6 additions and 0 deletions
|
@ -925,6 +925,12 @@ static BOOL NLS_EnumSystemLocales(ENUMSYSTEMLOCALES_CALLBACKS *lpProcs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Passing 0 flags behaves like LCID_SUPPORTED */
|
||||||
|
if (lpProcs->dwFlags == 0)
|
||||||
|
{
|
||||||
|
lpProcs->dwFlags = LCID_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
switch (lpProcs->dwFlags)
|
switch (lpProcs->dwFlags)
|
||||||
{
|
{
|
||||||
case LCID_ALTERNATE_SORTS:
|
case LCID_ALTERNATE_SORTS:
|
||||||
|
|
Loading…
Reference in a new issue