diff --git a/src/ChangeLog b/src/ChangeLog index 2a84180e0..d38d3a6e1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -11,6 +11,7 @@ of the next line. * dialog.h (struct Dlg_head): Changed the bit fields of length one from signed int to unsigned int. + * wtools.h: Replaced 0 with LISTBOX_APPEND_AT_END. 2005-08-15 Jindrich Makovicka diff --git a/src/wtools.h b/src/wtools.h index 63d40e531..f44f1e2f2 100644 --- a/src/wtools.h +++ b/src/wtools.h @@ -11,7 +11,7 @@ typedef struct { /* Listbox utility functions */ Listbox *create_listbox_window (int cols, int lines, const char *title, const char *help); #define LISTBOX_APPEND_TEXT(l,h,t,d) \ - listbox_add_item (l->list, 0, h, t, d) + listbox_add_item (l->list, LISTBOX_APPEND_AT_END, h, t, d) int run_listbox (Listbox *l);