[Bug 5128] Assertion fail: listview.c (part of comctl32, builtin)
Wine Bugs
wine-bugs at winehq.org
Mon Apr 24 02:42:30 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5128
nospam at thenerdshow.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
------- Additional Comments From nospam at thenerdshow.com 2006-24-04 02:42 -------
Oops. Not a duplicate of bug 5126. This assertion is in a different place.
The following patch fixes this bug but it does not fix bug 5126 so I am
reopening this. Please check this patch over. I am unfamiliar with the
codebase and as such may have hacked it a bit.
--- wine/dlls/comctl32/listview.c.orig 2006-04-23 22:33:38.000000000 -0800
+++ wine/dlls/comctl32/listview.c 2006-04-23 23:10:20.000000000 -0800
@@ -1350,6 +1350,7 @@
static COLUMN_INFO mainItem;
if (nSubItem == 0 && DPA_GetPtrCount(infoPtr->hdpaColumns) == 0) return
&mainItem;
+ if (nSubItem < 0) nSubItem = -nSubItem;
assert (nSubItem >= 0 && nSubItem < DPA_GetPtrCount(infoPtr->hdpaColumns));
return (COLUMN_INFO *)DPA_GetPtr(infoPtr->hdpaColumns, nSubItem);
}
--
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