]> git.wh0rd.org Git - nano.git/commitdiff
Deleting a misplaced setting of 'currmenu'.
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 13 Apr 2014 12:09:32 +0000 (12:09 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Sun, 13 Apr 2014 12:09:32 +0000 (12:09 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index 9f28ab249b46aa9cb7c0d6c27f2371a90a8dbe77..c5e7ddec7d98a5d8507263309169068e42295877 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,9 @@
 2014-04-13  Benno Schulenberg  <bensberg@justemail.net>
-       * proto.h, global.c, rcfile.c: Remove unused parameter 'menu'
+       * proto.h, global.c, rcfile.c: Remove the unused parameter 'menu'
        from strtosc().
-       * global.c (shortcut_init):  Remove mistaken browser item from
+       * global.c (shortcut_init): Remove mistaken browser item from the
        Go-To-Line menu.
+       * global.c (shortcut_init): Delete a misplaced setting of 'currmenu'.
 
 2014-04-10  Benno Schulenberg  <bensberg@justemail.net>
        * doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.
index 3fea14e2c0d314b467fe32615cee3a48c17beed1..2b7da227d1a10ecfa5de20424322eeb1fdea10c3 100644 (file)
@@ -1077,8 +1077,6 @@ void shortcut_init(void)
        goto_dir_msg, IFSCHELP(nano_gotodir_msg), FALSE, VIEW);
 #endif
 
-    currmenu = MMAIN;
-
     add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER,
        "^G", do_help_void, 0, TRUE);
     add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER,