From: Chris Allegretta Date: Sun, 23 Sep 2001 02:45:27 +0000 (+0000) Subject: Oops, we shoudn't let DOS_FILE and MAX_FILE be set at the same time X-Git-Tag: v1.1.2~47 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=99e30e1bee2fdfc834e080f82395441c8d34eef5;p=nano.git Oops, we shoudn't let DOS_FILE and MAX_FILE be set at the same time git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@784 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/nano.c b/nano.c index 5e1afa01..658573b1 100644 --- a/nano.c +++ b/nano.c @@ -2359,7 +2359,12 @@ void do_toggle(int which) edit_refresh(); display_main_list(); break; - + case TOGGLE_DOS_KEY: + UNSET(MAC_FILE); + break; + case TOGGLE_MAC_KEY: + UNSET(DOS_FILE); + break; } if (!ISSET(toggles[which].flag)) {