Dylan Smith : comctl32/listview: Scrolling affects subitem rect.
Alexandre Julliard
julliard at winehq.org
Wed Mar 3 11:15:45 CST 2010
Module: wine
Branch: master
Commit: a7053ecc4c226dc6afc93ff129237ce9b78380b7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a7053ecc4c226dc6afc93ff129237ce9b78380b7
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Wed Mar 3 02:38:39 2010 -0500
comctl32/listview: Scrolling affects subitem rect.
---
dlls/comctl32/listview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 2d39675..9afbf10 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -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;
}
More information about the wine-cvs
mailing list