Listview W6

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

 



It was late last night, I was tired, etc...
It's more of a typo, really! Ehm :/
This should fix crashes in about every app which uses the listview.

ChangeLog
  Delete the items if we actually own them.

--- dlls/comctl32/listview.c.W5	Tue Oct 22 21:07:42 2002
+++ dlls/comctl32/listview.c	Tue Oct 22 21:21:05 2002
@@ -3888,7 +3888,7 @@
 	    nmlv.iItem = i;
 	    notify_listview(infoPtr, LVN_DELETEITEM, &nmlv);
 	}
-	if (infoPtr->dwStyle & LVS_OWNERDATA)
+	if (!(infoPtr->dwStyle & LVS_OWNERDATA))
 	{
 	    hdpaSubItems = (HDPA)DPA_GetPtr(infoPtr->hdpaItems, i);
 	    for (j = 0; j < hdpaSubItems->nItemCount; j++)


-- 
Dimi.



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

  Powered by Linux