]> git.wh0rd.org Git - nano.git/commitdiff
Oops, we shoudn't let DOS_FILE and MAX_FILE be set at the same time
authorChris Allegretta <chrisa@asty.org>
Sun, 23 Sep 2001 02:45:27 +0000 (02:45 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 23 Sep 2001 02:45:27 +0000 (02:45 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@784 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index 5e1afa0100bb61c419950e129509a0bce9326ca2..658573b1063ad8919bad1e1d95d6e3adc87f28f7 100644 (file)
--- 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)) {