mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Fix crash when pressing 'u'. Thanks to Quentin Carbonneaux.
This commit is contained in:
parent
00b324bfc1
commit
8d5dd51cf2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user