mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(dlg_default_callback): get rid of extra type cast.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d5b35a7329
commit
01c5cf66a5
@ -751,7 +751,7 @@ dlg_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, v
|
||||
according to flags (if any of flags require automatic
|
||||
resizing, like DLG_CENTER, end after that reposition
|
||||
controls in dialog according to flags of widget) */
|
||||
dlg_set_size (h, WIDGET (h)->lines, WIDGET (h)->cols);
|
||||
dlg_set_size (h, w->lines, w->cols);
|
||||
return MSG_HANDLED;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user