[ros-diffs] [mkupfer] 41242: fixes clipping problem for taskmgr process list

mkupfer at svn.reactos.org mkupfer at svn.reactos.org
Tue Jun 2 00:10:44 CEST 2009


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/proclist.c?rev=41242&r1=41241&r2=41242&view=diff
==============================================================================
--- 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;
 



More information about the Ros-diffs mailing list