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
32e4ca0e
Commit
32e4ca0e
authored
Mar 07, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set SM_DBCSENABLED according to the current locale instead of
hardcoding it to 0 (found by Mike McCormack).
parent
38f932c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sysparams.c
dlls/user/sysparams.c
+3
-1
No files found.
dlls/user/sysparams.c
View file @
32e4ca0e
...
...
@@ -602,6 +602,7 @@ void SYSPARAMS_Init(void)
HKEY
hkey
;
/* key to the window metrics area of the registry */
WCHAR
buf
[
10
];
INT
border
;
CPINFO
cpinfo
;
display_dc
=
CreateICW
(
DISPLAY
,
NULL
,
NULL
,
NULL
);
assert
(
display_dc
);
...
...
@@ -681,7 +682,8 @@ void SYSPARAMS_Init(void)
SystemParametersInfoW
(
SPI_GETMENUDROPALIGNMENT
,
0
,
&
sysMetrics
[
SM_MENUDROPALIGNMENT
],
0
);
sysMetrics
[
SM_PENWINDOWS
]
=
0
;
sysMetrics
[
SM_DBCSENABLED
]
=
0
;
GetCPInfo
(
CP_ACP
,
&
cpinfo
);
sysMetrics
[
SM_DBCSENABLED
]
=
(
cpinfo
.
MaxCharSize
>
1
);
/* FIXME: Need to query X for the following */
sysMetrics
[
SM_CMOUSEBUTTONS
]
=
3
;
...
...
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