Listview (the real) Z8

Dimitrie O. Paun dpaun at rogers.com
Sun Oct 27 10:54:50 CST 2002


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.




More information about the wine-patches mailing list