mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
26 lines
924 B
Diff
26 lines
924 B
Diff
|
From d027a6891aa48f2614b606892bc54e25e147eee2 Mon Sep 17 00:00:00 2001
|
||
|
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|
||
|
Date: Sun, 11 Aug 2013 17:45:19 -0600
|
||
|
Subject: kernel32: Allow string comparison with linguistic casing.
|
||
|
|
||
|
---
|
||
|
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 9ddf078..d635364 100644
|
||
|
--- a/dlls/kernel32/locale.c
|
||
|
+++ b/dlls/kernel32/locale.c
|
||
|
@@ -2934,7 +2934,7 @@ INT WINAPI CompareStringEx(LPCWSTR locale, DWORD flags, LPCWSTR str1, INT len1,
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
- if( flags & ~(NORM_IGNORECASE|NORM_IGNORENONSPACE|NORM_IGNORESYMBOLS|
|
||
|
+ if( flags & ~(NORM_IGNORECASE|NORM_IGNORENONSPACE|NORM_IGNORESYMBOLS|NORM_LINGUISTIC_CASING|
|
||
|
SORT_STRINGSORT|NORM_IGNOREKANATYPE|NORM_IGNOREWIDTH|LOCALE_USE_CP_ACP|0x10000000) )
|
||
|
{
|
||
|
SetLastError(ERROR_INVALID_FLAGS);
|
||
|
--
|
||
|
1.7.9.5
|
||
|
|