diff --git a/src/ChangeLog b/src/ChangeLog index af77ad947..14d877dce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-09-14 Pavel Tsekov + + * widget.c (listbox_new): Remove redundant initialization of + WListbox fields. + 2007-09-17 Maxim Britov * util.c (file_date): Do not ignore the return value diff --git a/src/widget.c b/src/widget.c index 5a3e9cfc6..a8b3129f9 100644 --- a/src/widget.c +++ b/src/widget.c @@ -2161,8 +2161,6 @@ listbox_new (int y, int x, int width, int height, lcback callback) else l->height = height; l->count = 0; - l->top = 0; - l->current = 0; l->cback = callback; l->allow_duplicates = 1; l->scrollbar = slow_terminal ? 0 : 1;