mirror of https://github.com/MidnightCommander/mc
Fix of DLG_ACTION handling in 'VFS Setting' dialog window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
50a1b22860
commit
e9014c5b13
|
@ -422,9 +422,9 @@ confvfs_callback (Dlg_head * h, Widget * sender, dlg_msg_t msg, int parm, void *
|
|||
switch (msg)
|
||||
{
|
||||
case DLG_ACTION:
|
||||
if (sender->id == 6)
|
||||
/* message from "Always use ftp proxy" checkbutton */
|
||||
if (sender != NULL && sender->id == 6)
|
||||
{
|
||||
/* message from "Always use ftp proxy" checkbutton */
|
||||
const gboolean not_use = !(((WCheck *) sender)->state & C_BOOL);
|
||||
Widget *w;
|
||||
|
||||
|
|
Loading…
Reference in New Issue