Commit 8d5dd51c authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

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

parent 00b324bf
...@@ -45,7 +45,8 @@ static void ListItem_display(Object* cast, RichString* out) { ...@@ -45,7 +45,8 @@ static void ListItem_display(Object* cast, RichString* out) {
ObjectClass ListItem_class = { ObjectClass ListItem_class = {
.display = ListItem_display, .display = ListItem_display,
.delete = ListItem_delete .delete = ListItem_delete,
.compare = ListItem_compare
}; };
ListItem* ListItem_new(const char* value, int key) { ListItem* ListItem_new(const char* value, int key) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment