[4/5] comctl32/listview: Fix horizontal grid line drawing
Nikolay Sivov
bunglehead at gmail.com
Sun Apr 26 04:03:51 CDT 2009
You could easily experience this issue right scrolling horizontally with
gridlines enabled.
Changelog:
- Fix horizontal grid line drawing
>From fcce2d2c3edc1c689df8d38659838ac72d5723e1 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun, 26 Apr 2009 12:38:51 +0400
Subject: Fix horizontal grid line drawing
---
dlls/comctl32/listview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 8808165..6301c8a 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -4206,8 +4206,8 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
/* draw the horizontial lines for the rows */
itemheight = LISTVIEW_CalculateItemHeight(infoPtr);
- rcItem.left = infoPtr->rcList.left + Origin.x;
- rcItem.right = infoPtr->rcList.right + Origin.x;
+ rcItem.left = infoPtr->rcList.left;
+ rcItem.right = infoPtr->rcList.right;
rcItem.bottom = rcItem.top = Origin.y - 1;
MoveToEx(hdc, rcItem.left, rcItem.top, NULL);
LineTo(hdc, rcItem.right, rcItem.top);
--
1.5.6.5
More information about the wine-patches
mailing list