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
71bb8c5e
Commit
71bb8c5e
authored
Dec 15, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Properly fixup font system parameters with positive height.
parent
4adfb787
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sysparams.c
dlls/user32/sysparams.c
+1
-1
No files found.
dlls/user32/sysparams.c
View file @
71bb8c5e
...
...
@@ -915,9 +915,9 @@ static BOOL get_font_entry( union sysparam_all_entry *entry, UINT int_param, voi
switch
(
load_entry
(
&
entry
->
hdr
,
&
font
,
sizeof
(
font
)
))
{
case
sizeof
(
font
):
entry
->
font
.
val
=
font
;
if
(
font
.
lfHeight
>
0
)
/* positive height value means points ( inch/72 ) */
font
.
lfHeight
=
-
MulDiv
(
font
.
lfHeight
,
get_display_dpi
(),
72
);
entry
->
font
.
val
=
font
;
break
;
case
sizeof
(
LOGFONT16
):
/* win9x-winME format */
SYSPARAMS_LogFont16To32W
(
(
LOGFONT16
*
)
&
font
,
&
entry
->
font
.
val
);
...
...
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