1
1

Fix of DLG_ACTION handling in 'Configure options' dialog window.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
Andrew Borodin 2011-03-29 10:50:10 +04:00
родитель 4519c85134
Коммит 0068809e58

Просмотреть файл

@ -63,9 +63,9 @@ configure_callback (Dlg_head * h, Widget * sender, dlg_msg_t msg, int parm, void
switch (msg)
{
case DLG_ACTION:
if (sender->id == 18)
/* message from "Single press" checkbutton */
if (sender != NULL && sender->id == 18)
{
/* message from "Single press" checkbutton */
const gboolean not_single = !(((WCheck *) sender)->state & C_BOOL);
Widget *w;