(dlg_default_callback): get rid of extra type cast.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-06-23 17:24:14 +04:00
parent d5b35a7329
commit 01c5cf66a5

View File

@ -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 according to flags (if any of flags require automatic
resizing, like DLG_CENTER, end after that reposition resizing, like DLG_CENTER, end after that reposition
controls in dialog according to flags of widget) */ 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; return MSG_HANDLED;
default: default: