Listview (the real) Z8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog
  Fix crash-inducing typo/thinko.

--- dlls/comctl32/listview.c.Z7	2002-10-27 11:25:22.000000000 -0500
+++ dlls/comctl32/listview.c	2002-10-27 11:45:07.000000000 -0500
@@ -6922,7 +6922,7 @@
 {
     TRACE("(nItem=%d)\n", nItem);
 
-    if (nItem < 0 && nItem >= infoPtr->nItemCount) return FALSE;
+    if (nItem < 0 || nItem >= infoPtr->nItemCount) return FALSE;
 
     /* rearrange with default alignment style */
     if (is_autoarrange(infoPtr))


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux