Module: wine Branch: master Commit: d1d7dfab646502c319b5ba302be910eeea29f9b4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1d7dfab646502c319b5ba302b...
Author: Nikolay Sivov bunglehead@gmail.com Date: Sun Apr 26 12:38:51 2009 +0400
comctl32/listview: 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);