Listview W6

Dimitrie O. Paun dpaun at rogers.com
Tue Oct 22 20:23:53 CDT 2002


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.




More information about the wine-patches mailing list