mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* widget.c (listbox_new): Assing l->height.
This commit is contained in:
parent
b7744cce9d
commit
4c7a34f182
@ -1,3 +1,7 @@
|
||||
1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* widget.c (listbox_new): Assing l->height.
|
||||
|
||||
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* main.c (update_one_panel_widget): GNOME version does the panel
|
||||
|
@ -2209,7 +2209,9 @@ listbox_new (int y, int x, int width, int height,
|
||||
l->pos = 0;
|
||||
l->width = width;
|
||||
if (height <= 0)
|
||||
l->height = 0;
|
||||
l->height = 1;
|
||||
else
|
||||
l->height = height;
|
||||
l->count = 0;
|
||||
l->top = 0;
|
||||
l->current= 0;
|
||||
|
Loading…
Reference in New Issue
Block a user