Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c90e54
)
Revert "ecere:ListBox: properly fixed null vtbl call crash"
author
Rejean Loyer
<rejean.loyer@gmail.com>
Wed, 14 Sep 2011 03:09:16 +0000
(23:09 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Wed, 14 Sep 2011 03:09:16 +0000
(23:09 -0400)
This reverts commit
b1e8d8c8824325b47667cb1c9a2a7a2973accf12
.
ecere/src/gui/controls/ListBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/ListBox.ec
b/ecere/src/gui/controls/ListBox.ec
index
fc16a83
..
d48ea6d
100644
(file)
--- a/
ecere/src/gui/controls/ListBox.ec
+++ b/
ecere/src/gui/controls/ListBox.ec
@@
-738,7
+738,7
@@
private:
{
DataField field;
for(field = listBox.fields.first; field && field.index != cellIndex; field = field.next);
- if(field.dataType &&
field.dataType._vTbl && field.dataType.
_vTbl[__ecereVMethodID_class_OnFree])
+ if(field.dataType && _vTbl[__ecereVMethodID_class_OnFree])
{
// TOCHECK: Is this check good? Will need incref/decref sometime?
if(field.dataType.type == normalClass || field.dataType.type == noHeadClass)