mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-13 11:23:09 +03:00
Fix of DLG_ACTION handling in 'Configure options' dialog window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4519c85134
commit
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)
|
||||
{
|
||||
const gboolean not_single = !(((WCheck *) sender)->state & C_BOOL);
|
||||
Widget *w;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user