diff --git a/edit/ChangeLog b/edit/ChangeLog index a28d79e05..77e804e59 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -2,6 +2,7 @@ * edit-widget.h: Changed bit fields of length 1 from signed to unsigned. + * editcmd.c (edit_completion_dialog): Code cleanup. 2005-08-10 Pavel Roskin diff --git a/edit/editcmd.c b/edit/editcmd.c index 8f7631de2..fdb8cc4a2 100644 --- a/edit/editcmd.c +++ b/edit/editcmd.c @@ -2811,7 +2811,8 @@ edit_completion_dialog (WEdit * edit, int max_len, int word_len, /* fill the listbox with the completions */ for (i = 0; i < num_compl; i++) - listbox_add_item (compl_list, 0, 0, (char *) compl[i].text, NULL); + listbox_add_item (compl_list, LISTBOX_APPEND_AT_END, 0, + (char *) compl[i].text, NULL); /* pop up the dialog */ run_dlg (compl_dlg);