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
28c53964
Commit
28c53964
authored
Dec 04, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Store the LC_MESSAGES value under the "Locale" value.
Some apps depend on the value. Reported by Karsten Elfenbein.
parent
a274689b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
locale.c
dlls/kernel32/locale.c
+2
-2
No files found.
dlls/kernel32/locale.c
View file @
28c53964
...
...
@@ -633,8 +633,8 @@ void LOCALE_InitRegistry(void)
static
const
WCHAR
acpW
[]
=
{
'A'
,
'C'
,
'P'
,
0
};
static
const
WCHAR
oemcpW
[]
=
{
'O'
,
'E'
,
'M'
,
'C'
,
'P'
,
0
};
static
const
WCHAR
maccpW
[]
=
{
'M'
,
'A'
,
'C'
,
'C'
,
'P'
,
0
};
static
const
WCHAR
localeW
[]
=
{
'L'
,
'o'
,
'c'
,
'a'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
lc_ctypeW
[]
=
{
'L'
,
'C'
,
'_'
,
'C'
,
'T'
,
'Y'
,
'P'
,
'E'
,
0
};
static
const
WCHAR
lc_messagesW
[]
=
{
'L'
,
'C'
,
'_'
,
'M'
,
'E'
,
'S'
,
'S'
,
'A'
,
'G'
,
'E'
,
'S'
,
0
};
static
const
WCHAR
lc_monetaryW
[]
=
{
'L'
,
'C'
,
'_'
,
'M'
,
'O'
,
'N'
,
'E'
,
'T'
,
'A'
,
'R'
,
'Y'
,
0
};
static
const
WCHAR
lc_numericW
[]
=
{
'L'
,
'C'
,
'_'
,
'N'
,
'U'
,
'M'
,
'E'
,
'R'
,
'I'
,
'C'
,
0
};
static
const
WCHAR
lc_timeW
[]
=
{
'L'
,
'C'
,
'_'
,
'T'
,
'I'
,
'M'
,
'E'
,
0
};
...
...
@@ -688,7 +688,7 @@ void LOCALE_InitRegistry(void)
if
(
!
(
hkey
=
create_registry_key
()))
return
;
/* don't do anything if we can't create the registry key */
locale_update_registry
(
hkey
,
l
c_messages
W
,
lcid_LC_MESSAGES
,
lc_messages_values
,
locale_update_registry
(
hkey
,
l
ocale
W
,
lcid_LC_MESSAGES
,
lc_messages_values
,
sizeof
(
lc_messages_values
)
/
sizeof
(
lc_messages_values
[
0
])
);
locale_update_registry
(
hkey
,
lc_monetaryW
,
lcid_LC_MONETARY
,
lc_monetary_values
,
sizeof
(
lc_monetary_values
)
/
sizeof
(
lc_monetary_values
[
0
])
);
...
...
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