Skip to content
Snippets Groups Projects
Commit c9220e83 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Check UIFC_XF_QUIT when asking to exit

parent 44a8f524
Branches
Tags
No related merge requests found
Pipeline #7641 passed
......@@ -1031,7 +1031,7 @@ int main(int argc, char **argv)
"Otherwise, select `No` or hit ~ ESC ~.\n"
;
i=uifc.list(WIN_MID|WIN_SAV,0,0,0,&i,0,"Exit SCFG",uifcYesNoOpts);
if(!i)
if(!i || uifc.exit_flags & UIFC_XF_QUIT)
bail(0);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment