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
84248a5a
Commit
84248a5a
authored
Oct 25, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Oct 25, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for LANG_NEUTRAL.
parent
3bf623d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
winnls.h
include/winnls.h
+1
-0
ole2nls.c
ole/ole2nls.c
+3
-2
No files found.
include/winnls.h
View file @
84248a5a
...
@@ -141,6 +141,7 @@
...
@@ -141,6 +141,7 @@
#define LANG_USER_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))
#define LANG_USER_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))
#define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT))
#define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT))
#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))
#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))
#define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT))
/* Language IDs (were in winnt.h, for some reason) */
/* Language IDs (were in winnt.h, for some reason) */
...
...
ole/ole2nls.c
View file @
84248a5a
...
@@ -472,8 +472,9 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
...
@@ -472,8 +472,9 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
found
=
0
;
i
=
0
;
lang
=
lcid
;
found
=
0
;
i
=
0
;
lang
=
lcid
;
if
(
lang
==
0x400
)
/*LANG_NEUTRAL ==> US English*/
if
((
lang
&
0xff
)
==
0x00
)
/*LANG_NEUTRAL ==> US English*/
{
lang
=
0x409
;
{
lang
=
0x409
;
WARN
(
ole
,
"no language set, assume LANG_ENGLISH_US
\n
"
);
WARN
(
ole
,
"no language set, assume LANG_ENGLISH_US
\n
"
);
}
}
...
...
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