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
dc5b2296
Commit
dc5b2296
authored
Jul 15, 2015
by
Jarkko Korpi
Committed by
Alexandre Julliard
Mar 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Silence repeated LocaleNameToLCID unsupported flags.
Signed-off-by:
Louis Lenders
<
xerox.xerox2000x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1d82495b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
locale.c
dlls/kernel32/locale.c
+5
-2
No files found.
dlls/kernel32/locale.c
View file @
dc5b2296
...
...
@@ -1396,8 +1396,10 @@ LANGID WINAPI GetSystemDefaultUILanguage(void)
LCID
WINAPI
LocaleNameToLCID
(
LPCWSTR
name
,
DWORD
flags
)
{
struct
locale_name
locale_name
;
static
int
once
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
if
(
flags
&&
!
once
++
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
if
(
name
==
LOCALE_NAME_USER_DEFAULT
)
return
GetUserDefaultLCID
();
...
...
@@ -1427,7 +1429,8 @@ LCID WINAPI LocaleNameToLCID( LPCWSTR name, DWORD flags )
*/
INT
WINAPI
LCIDToLocaleName
(
LCID
lcid
,
LPWSTR
name
,
INT
count
,
DWORD
flags
)
{
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
static
int
once
;
if
(
flags
&&
!
once
++
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
return
GetLocaleInfoW
(
lcid
,
LOCALE_SNAME
|
LOCALE_NOUSEROVERRIDE
,
name
,
count
);
}
...
...
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