Commit 5e56ada9 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

comctl32: Use correct integral type.

parent e785da84
...@@ -1229,7 +1229,12 @@ static SIZE BUTTON_GetImageSize(const BUTTON_INFO *infoPtr) ...@@ -1229,7 +1229,12 @@ static SIZE BUTTON_GetImageSize(const BUTTON_INFO *infoPtr)
/* ImageList has priority over image */ /* ImageList has priority over image */
if (infoPtr->imagelist.himl) 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) else if (infoPtr->u.image)
{ {
if (infoPtr->image_type == IMAGE_ICON) if (infoPtr->image_type == IMAGE_ICON)
......
...@@ -430,7 +430,8 @@ static void taskdialog_get_expando_size(struct taskdialog_info *dialog_info, HWN ...@@ -430,7 +430,8 @@ static void taskdialog_get_expando_size(struct taskdialog_info *dialog_info, HWN
HFONT hfont, old_hfont; HFONT hfont, old_hfont;
HDC hdc; HDC hdc;
RECT rect = {0}; RECT rect = {0};
LONG icon_width, icon_height, text_offset; LONG icon_width, icon_height;
INT text_offset;
LONG max_width, max_text_height; LONG max_width, max_text_height;
hdc = GetDC(hwnd); hdc = GetDC(hwnd);
...@@ -1092,7 +1093,8 @@ static void taskdialog_draw_expando_control(struct taskdialog_info *dialog_info, ...@@ -1092,7 +1093,8 @@ static void taskdialog_draw_expando_control(struct taskdialog_info *dialog_info,
HDC hdc; HDC hdc;
RECT rect = {0}; RECT rect = {0};
WCHAR *text; WCHAR *text;
LONG icon_width, icon_height, text_offset; LONG icon_width, icon_height;
INT text_offset;
UINT style = DFCS_FLAT; UINT style = DFCS_FLAT;
BOOL draw_focus; BOOL draw_focus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment