Ticket #3172: listbox.diff
File listbox.diff, 453 bytes (added by szaszg, 11 years ago) |
---|
-
lib/widget/listbox.c
diff --git a/lib/widget/listbox.c b/lib/widget/listbox.c index f411851..0d94a83 100644
a b listbox_key (WListbox * l, int key) 352 352 static inline void 353 353 listbox_append_item (WListbox * l, WLEntry * e, listbox_append_t pos) 354 354 { 355 if (l->list == NULL) 355 if (l->list == NULL) { 356 356 l->list = g_queue_new (); 357 pos = LISTBOX_APPEND_AT_END; 358 } 357 359 358 360 switch (pos) 359 361 {