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
f324021e
Commit
f324021e
authored
Mar 21, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Skip locales that can't be converted to rfc1766 format.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
65d0c150
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mlang.c
dlls/mlang/mlang.c
+1
-1
No files found.
dlls/mlang/mlang.c
View file @
f324021e
...
...
@@ -2403,7 +2403,7 @@ static BOOL CALLBACK enum_locales_proc(LPWSTR locale, DWORD flags, LPARAM lparam
if
(
info
->
lcid
==
LOCALE_CUSTOM_UNSPECIFIED
)
return
TRUE
;
info
->
wszRfc1766
[
0
]
=
0
;
lcid_to_rfc1766W
(
info
->
lcid
,
info
->
wszRfc1766
,
MAX_RFC1766_NAME
)
;
if
(
FAILED
(
lcid_to_rfc1766W
(
info
->
lcid
,
info
->
wszRfc1766
,
MAX_RFC1766_NAME
)))
return
TRUE
;
info
->
wszLocaleName
[
0
]
=
0
;
GetLocaleInfoW
(
info
->
lcid
,
LOCALE_SLANGUAGE
,
info
->
wszLocaleName
,
MAX_LOCALE_NAME
);
...
...
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