Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
32da6626
Commit
32da6626
authored
Apr 16, 2014
by
Erich E. Hoover
Committed by
Alexandre Julliard
Apr 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Allow CompareStringEx LINGUISTIC_IGNORECASE flag.
parent
b0935ab8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
locale.c
dlls/kernel32/locale.c
+1
-1
locale.c
dlls/kernel32/tests/locale.c
+3
-3
No files found.
dlls/kernel32/locale.c
View file @
32da6626
...
...
@@ -2987,7 +2987,7 @@ INT WINAPI CompareStringEx(LPCWSTR locale, DWORD flags, LPCWSTR str1, INT len1,
{
DWORD
supported_flags
=
NORM_IGNORECASE
|
NORM_IGNORENONSPACE
|
NORM_IGNORESYMBOLS
|
SORT_STRINGSORT
|
NORM_IGNOREKANATYPE
|
NORM_IGNOREWIDTH
|
LOCALE_USE_CP_ACP
;
DWORD
semistub_flags
=
NORM_LINGUISTIC_CASING
|
0x10000000
;
DWORD
semistub_flags
=
NORM_LINGUISTIC_CASING
|
LINGUISTIC_IGNORECASE
|
0x10000000
;
/* 0x10000000 is related to diacritics in Arabic, Japanese, and Hebrew */
INT
ret
;
...
...
dlls/kernel32/tests/locale.c
View file @
32da6626
...
...
@@ -1568,11 +1568,11 @@ static const struct comparestringex_test comparestringex_tests[] = {
},
{
/* 19 */
"tr-TR"
,
LINGUISTIC_IGNORECASE
,
{
'i'
,
0
},
{
0x130
,
0
},
CSTR_LESS_THAN
,
-
1
,
TRU
E
{
'i'
,
0
},
{
0x130
,
0
},
CSTR_LESS_THAN
,
-
1
,
FALS
E
},
{
/* 20 */
"tr-TR"
,
LINGUISTIC_IGNORECASE
,
{
'i'
,
0
},
{
0x131
,
0
},
CSTR_LESS_THAN
,
-
1
,
TRU
E
{
'i'
,
0
},
{
0x131
,
0
},
CSTR_LESS_THAN
,
-
1
,
FALS
E
},
{
/* 21 */
"tr-TR"
,
LINGUISTIC_IGNORECASE
,
...
...
@@ -1580,7 +1580,7 @@ static const struct comparestringex_test comparestringex_tests[] = {
},
{
/* 22 */
"tr-TR"
,
LINGUISTIC_IGNORECASE
,
{
'I'
,
0
},
{
0x131
,
0
},
CSTR_LESS_THAN
,
-
1
,
TRU
E
{
'I'
,
0
},
{
0x131
,
0
},
CSTR_LESS_THAN
,
-
1
,
FALS
E
},
{
/* 23 */
"tr-TR"
,
LINGUISTIC_IGNORECASE
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment