mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +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:
@@ -925,6 +925,12 @@ static BOOL NLS_EnumSystemLocales(ENUMSYSTEMLOCALES_CALLBACKS *lpProcs)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Passing 0 flags behaves like LCID_SUPPORTED */
|
||||
if (lpProcs->dwFlags == 0)
|
||||
{
|
||||
lpProcs->dwFlags = LCID_SUPPORTED;
|
||||
}
|
||||
|
||||
switch (lpProcs->dwFlags)
|
||||
{
|
||||
case LCID_ALTERNATE_SORTS:
|
||||
|
||||
Reference in New Issue
Block a user