Nikolay Sivov : comctl32/listview: Rename helper argument.
Alexandre Julliard
julliard at winehq.org
Tue Nov 10 13:46:23 CST 2020
Module: wine
Branch: stable
Commit: c0b3272553781c494a1267ac0922d641c2cb0c85
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c0b3272553781c494a1267ac0922d641c2cb0c85
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Jul 16 13:38:20 2020 +0300
comctl32/listview: Rename helper argument.
Rpcndr.h defines "small" as char.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit f6802b7a318a749540e00ca4a68772cc2ac280e5)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/comctl32/listview.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index f1f09d201e0..1092a6ce9b0 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -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);
}
}
More information about the wine-cvs
mailing list