comctl32/listview: Rename helper argument.

Rpcndr.h defines "small" as char.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-07-16 13:38:20 +03:00 committed by Alexandre Julliard
parent 3347ad003a
commit f6802b7a31
1 changed files with 3 additions and 3 deletions

View File

@ -8740,7 +8740,7 @@ static DWORD LISTVIEW_SetIconSpacing(LISTVIEW_INFO *infoPtr, INT cx, INT cy)
return oldspacing;
}
static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL small)
static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL is_small)
{
INT cx, cy;
@ -8751,8 +8751,8 @@ static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL small)
}
else
{
size->cx = GetSystemMetrics(small ? SM_CXSMICON : SM_CXICON);
size->cy = GetSystemMetrics(small ? SM_CYSMICON : SM_CYICON);
size->cx = GetSystemMetrics(is_small ? SM_CXSMICON : SM_CXICON);
size->cy = GetSystemMetrics(is_small ? SM_CYSMICON : SM_CYICON);
}
}