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
5bf1423c
Commit
5bf1423c
authored
Aug 17, 2015
by
Daniel Lehman
Committed by
Alexandre Julliard
Aug 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Return LOCALE_INVARIANT from ConvertDefaultLocale.
parent
ece3af78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
locale.c
dlls/kernel32/locale.c
+3
-0
locale.c
dlls/kernel32/tests/locale.c
+3
-0
No files found.
dlls/kernel32/locale.c
View file @
5bf1423c
...
...
@@ -2513,6 +2513,9 @@ LCID WINAPI ConvertDefaultLocale( LCID lcid )
switch
(
lcid
)
{
case
LOCALE_INVARIANT
:
/* keep as-is */
break
;
case
LOCALE_SYSTEM_DEFAULT
:
lcid
=
GetSystemDefaultLCID
();
break
;
...
...
dlls/kernel32/tests/locale.c
View file @
5bf1423c
...
...
@@ -3132,6 +3132,9 @@ static void test_ConvertDefaultLocale(void)
LCID_RES
(
LOCALE_SYSTEM_DEFAULT
,
GetSystemDefaultLCID
());
LCID_RES
(
LOCALE_USER_DEFAULT
,
GetUserDefaultLCID
());
LCID_RES
(
LOCALE_NEUTRAL
,
GetUserDefaultLCID
());
lcid
=
ConvertDefaultLocale
(
LOCALE_INVARIANT
);
ok
(
lcid
==
LOCALE_INVARIANT
||
broken
(
lcid
==
0x47f
)
/* win2k[3]/winxp */
,
"Expected lcid = %08x, got %08x
\n
"
,
LOCALE_INVARIANT
,
lcid
);
}
static
BOOL
CALLBACK
langgrp_procA
(
LGRPID
lgrpid
,
LPSTR
lpszNum
,
LPSTR
lpszName
,
...
...
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