Nikolay Sivov : comctl32/listview: Only apply horizontal offset when setting header position.

Alexandre Julliard julliard at winehq.org
Fri Aug 7 10:42:28 CDT 2020


Module: wine
Branch: stable
Commit: 11865bb71b6342f76bd249f55aa44fd5607d9096
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=11865bb71b6342f76bd249f55aa44fd5607d9096

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Apr 24 11:43:39 2020 +0300

comctl32/listview: Only apply horizontal offset when setting header position.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit d92906249fd4abd75d5d2ee2fba966855fac2e4c)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/comctl32/listview.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 2dd25908db..f1f09d201e 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -11086,7 +11086,6 @@ static void LISTVIEW_UpdateSize(LISTVIEW_INFO *infoPtr)
 
         rect = infoPtr->rcList;
         rect.left += origin.x;
-        rect.top += origin.y;
 
         hl.prc = ▭
 	hl.pwpos = ℘




More information about the wine-cvs mailing list