From 9afc3ebed4e131695db5066ea5c1cd94382f7f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9ron?= Date: Mon, 21 Feb 2005 18:28:30 +0000 Subject: [PATCH] Correct the number of args of SNDMSGA in ListView_GetSubItemRect. --- include/commctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/commctrl.h b/include/commctrl.h index 9bb294cbb9d..534f5d1f12a 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -3751,7 +3751,7 @@ typedef struct NMLVSCROLL (DWORD)SNDMSGA((hwndLV), LVM_GETITEMSPACING, (WPARAM)fSmall, 0L) #define ListView_GetSubItemRect(hwndLV, iItem, iSubItem, code, prc) \ (BOOL)SNDMSGA((hwndLV), LVM_GETSUBITEMRECT, (WPARAM)(int)(iItem), \ - ((prc) ? (((LPRECT)(prc))->top = iSubItem), (((LPRECT)(prc))->left = code):0), (LPARAM)prc) + ((prc) ? ((((LPRECT)(prc))->top = iSubItem), (((LPRECT)(prc))->left = code), (LPARAM)(prc)) : 0)) #define ListView_GetToolTips(hwndLV) \ (HWND)SNDMSGA((hwndLV), LVM_GETTOOLTIPS, 0, 0L) #define ListView_SetColumnOrderArray(hwndLV, iCount, pi) \