Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4e9f7899
Commit
4e9f7899
authored
May 26, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
May 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Use a case independent compare for the RFC1766 name.
parent
98435dc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
mlang.c
dlls/mlang/mlang.c
+1
-1
mlang.c
dlls/mlang/tests/mlang.c
+3
-0
No files found.
dlls/mlang/mlang.c
View file @
4e9f7899
...
...
@@ -1197,7 +1197,7 @@ static HRESULT lcid_from_rfc1766(IEnumRfc1766 *iface, LCID *lcid, LPCWSTR rfc176
while
(
IEnumRfc1766_Next
(
iface
,
1
,
&
info
,
&
num
)
==
S_OK
)
{
if
(
!
strcmpW
(
info
.
wszRfc1766
,
rfc1766
))
if
(
!
strcmp
i
W
(
info
.
wszRfc1766
,
rfc1766
))
{
*
lcid
=
info
.
lcid
;
return
S_OK
;
...
...
dlls/mlang/tests/mlang.c
View file @
4e9f7899
...
...
@@ -62,6 +62,9 @@ static const lcid_table_entry lcid_table[] = {
{
"en"
,
9
,
S_OK
},
/* only en is special (using PRIMARYLANGID) */
{
"en-gb"
,
0x809
,
S_OK
},
{
"en-GB"
,
0x809
,
S_OK
},
{
"EN-GB"
,
0x809
,
S_OK
},
{
"en-US"
,
0x409
,
S_OK
},
{
"en-us"
,
0x409
,
S_OK
}
};
...
...
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