[Bug 5311] comctl32: wine crash while starting UMLPad
Wine Bugs
wine-bugs at winehq.org
Tue May 30 15:54:19 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5311
------- Additional Comments From xerox_xerox2000 at yahoo.co.uk 2006-30-05 15:54 -------
I don;t know anything about this code, but following oneliner makes the
application start fine. Is that line newItem->iSelectedImage = -1; really needed?
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -1011,8 +1011,7 @@ TREEVIEW_AllocateItem(TREEVIEW_INFO *inf
return NULL;
newItem->iImage = -1;
- newItem->iSelectedImage = -1;
-
+
if (DPA_InsertPtr(infoPtr->items, INT_MAX, newItem) == -1)
{
Free(newItem);
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list