Fix crash when pressing 'u'. Thanks to Quentin Carbonneaux.

This commit is contained in:
Hisham Muhammad 2012-12-12 13:03:52 +00:00
parent 00b324bfc1
commit 8d5dd51cf2
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ static void ListItem_display(Object* cast, RichString* out) {
ObjectClass ListItem_class = {
.display = ListItem_display,
.delete = ListItem_delete
.delete = ListItem_delete,
.compare = ListItem_compare
};
ListItem* ListItem_new(const char* value, int key) {