comctl32/listview: Scrolling affects subitem rect.

This commit is contained in:
Dylan Smith 2010-03-03 02:38:39 -05:00 committed by Alexandre Julliard
parent 3952da836a
commit a7053ecc4c
1 changed files with 1 additions and 1 deletions

View File

@ -6873,7 +6873,7 @@ static BOOL LISTVIEW_GetSubItemRect(const LISTVIEW_INFO *infoPtr, INT nItem, LPR
return FALSE;
}
OffsetRect(lprc, 0, Position.y);
OffsetRect(lprc, Position.x - REPORT_MARGINX, Position.y);
return TRUE;
}