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
5e56ada9
Commit
5e56ada9
authored
Jan 27, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Use correct integral type.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e785da84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
button.c
dlls/comctl32/button.c
+6
-1
taskdialog.c
dlls/comctl32/taskdialog.c
+4
-2
No files found.
dlls/comctl32/button.c
View file @
5e56ada9
...
...
@@ -1229,7 +1229,12 @@ static SIZE BUTTON_GetImageSize(const BUTTON_INFO *infoPtr)
/* ImageList has priority over image */
if
(
infoPtr
->
imagelist
.
himl
)
ImageList_GetIconSize
(
infoPtr
->
imagelist
.
himl
,
&
size
.
cx
,
&
size
.
cy
);
{
int
scx
,
scy
;
ImageList_GetIconSize
(
infoPtr
->
imagelist
.
himl
,
&
scx
,
&
scy
);
size
.
cx
=
scx
;
size
.
cy
=
scy
;
}
else
if
(
infoPtr
->
u
.
image
)
{
if
(
infoPtr
->
image_type
==
IMAGE_ICON
)
...
...
dlls/comctl32/taskdialog.c
View file @
5e56ada9
...
...
@@ -430,7 +430,8 @@ static void taskdialog_get_expando_size(struct taskdialog_info *dialog_info, HWN
HFONT
hfont
,
old_hfont
;
HDC
hdc
;
RECT
rect
=
{
0
};
LONG
icon_width
,
icon_height
,
text_offset
;
LONG
icon_width
,
icon_height
;
INT
text_offset
;
LONG
max_width
,
max_text_height
;
hdc
=
GetDC
(
hwnd
);
...
...
@@ -1092,7 +1093,8 @@ static void taskdialog_draw_expando_control(struct taskdialog_info *dialog_info,
HDC
hdc
;
RECT
rect
=
{
0
};
WCHAR
*
text
;
LONG
icon_width
,
icon_height
,
text_offset
;
LONG
icon_width
,
icon_height
;
INT
text_offset
;
UINT
style
=
DFCS_FLAT
;
BOOL
draw_focus
;
...
...
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