From 4684ab1c1204c44ffe9159360a648cc0e1c53b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gouget?= Date: Wed, 14 Feb 2001 21:42:24 +0000 Subject: [PATCH] ListView_GetItemRect already sets rc.left. --- dlls/comctl32/listview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 2f85b6ec26e..b6aca9166ff 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -7442,8 +7442,7 @@ static LRESULT LISTVIEW_Update(HWND hwnd, INT nItem) else { /* get item bounding rectangle */ - rc.left = LVIR_BOUNDS; - ListView_GetItemRect(hwnd, nItem, &rc, rc.left); + ListView_GetItemRect(hwnd, nItem, &rc, LVIR_BOUNDS); InvalidateRect(hwnd, &rc, TRUE); } }