mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
(widget_init): init pos_flags member to WPOS_KEEP_DEFAULT.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1b041ad484
commit
200cb115ab
@ -145,6 +145,7 @@ widget_init (Widget * w, int y, int x, int lines, int cols,
|
|||||||
w->y = y;
|
w->y = y;
|
||||||
w->cols = cols;
|
w->cols = cols;
|
||||||
w->lines = lines;
|
w->lines = lines;
|
||||||
|
w->pos_flags = WPOS_KEEP_DEFAULT;
|
||||||
w->callback = callback;
|
w->callback = callback;
|
||||||
w->mouse = mouse_handler;
|
w->mouse = mouse_handler;
|
||||||
w->set_options = widget_default_set_options_callback;
|
w->set_options = widget_default_set_options_callback;
|
||||||
|
Loading…
Reference in New Issue
Block a user