diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 5ab06e90..15598bf0 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -4635,18 +4635,11 @@ static void after_change_settings_dialog(void *vctx, int retval) sfree(vctx); /* we've copied this already */ - if (retval < 0) { - /* If the dialog box was aborted without giving a result - * (probably because the whole session window closed), we have - * nothing further to do. */ - return; - } - assert(lenof(ww) == NCFGCOLOURS); unregister_dialog(&inst->seat, DIALOG_SLOT_RECONFIGURE); - if (retval) { + if (retval > 0) { inst->conf = newconf; /* Pass new config data to the logging module */