Author: mkupfer
Date: Tue Jun 2 02:10:43 2009
New Revision: 41242
URL:
http://svn.reactos.org/svn/reactos?rev=41242&view=rev
Log:
fixes clipping problem for taskmgr process list
Modified:
trunk/reactos/base/applications/taskmgr/proclist.c
Modified: trunk/reactos/base/applications/taskmgr/proclist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/proclist.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/proclist.c [iso-8859-1] Tue Jun 2 02:10:43
2009
@@ -74,10 +74,11 @@
*/
rcClip.left = LVIR_BOUNDS;
SendMessageW(hWnd, LVM_GETITEMRECT, 0, (LPARAM)&rcClip);
- rcClip.left = LVIR_BOUNDS;
+ rcItem.left = LVIR_BOUNDS;
SendMessageW(hWnd, LVM_GETITEMRECT, ListView_GetItemCount(hWnd) - 1,
(LPARAM)&rcItem);
rcClip.bottom = rcItem.bottom;
- rcClip.left = LVIR_ICON;
+ rcClip.right = rcItem.right;
+ rcItem.left = LVIR_ICON;
SendMessageW(hWnd, LVM_GETITEMRECT, 0, (LPARAM)&rcItem);
rcClip.left = rcItem.right;