comctl32/listview: Fix horizontal grid line drawing.

This commit is contained in:
Nikolay Sivov 2009-04-26 12:38:51 +04:00 committed by Alexandre Julliard
parent 2796763ee3
commit d1d7dfab64
1 changed files with 2 additions and 2 deletions

View File

@ -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);