[Wine-patches] [eter-2.1] kernel32: Fix typo in enum_locale_ex_proc. (eterbug #11083).

Dmitry Timoshkov dtimoshkov на etersoft.ru
Вт Апр 19 15:36:24 MSK 2016


---
 dlls/kernel32/locale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 0793378..0dd1fbb 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -2333,7 +2333,7 @@ static BOOL CALLBACK enum_locale_ex_proc( HMODULE module, LPCWSTR type,
         neutral = 0;
     flags = LOCALE_WINDOWS;
     flags |= neutral ? LOCALE_NEUTRALDATA : LOCALE_SPECIFICDATA;
-    if (data->flags && ~(data->flags & flags)) return TRUE;
+    if (data->flags && !(data->flags & flags)) return TRUE;
     return data->proc( buffer, flags, data->lparam );
 }
 
-- 
2.7.4


Подробная информация о списке рассылки Wine-patches