Module: wine Branch: master Commit: ccc803a06c98a0ead3cd877ac7b452e168c29751 URL: https://gitlab.winehq.org/wine/wine/-/commit/ccc803a06c98a0ead3cd877ac7b452e...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Mon May 27 17:26:29 2024 +1000
include: Correct ListView_GetItemIndexRect macro.
---
include/commctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/commctrl.h b/include/commctrl.h index a54de13d8b2..7c5b09f6e72 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -4211,7 +4211,7 @@ typedef struct tagLVITEMINDEX SNDMSG((hwnd), LVM_GETGROUPCOUNT, (WPARAM)0, (LPARAM)0) #define ListView_GetItemIndexRect(hwnd, index, subitem, code, prc) \ (BOOL)SNDMSG((hwnd), LVM_GETITEMINDEXRECT, (WPARAM)(LVITEMINDEX*)(index), \ - (prc ? ((((LPRECT)prc)->top = subitem), (((LPRECT)prc)->left = code), (LPARAM)prc) : (LPARAM)NULL) + (prc ? ((((LPRECT)prc)->top = subitem), (((LPRECT)prc)->left = code), (LPARAM)prc) : (LPARAM)NULL)) #define ListView_SetItemIndexState(hwndLV, index, data, mask) \ { LV_ITEM macro; macro.stateMask = (mask); macro.state = data; \ SNDMSG((hwndLV), LVM_SETITEMINDEXSTATE, (WPARAM)(LVITEMINDEX*)(index), (LPARAM)(LV_ITEM *)¯o); }