From: Benno Schulenberg Date: Sun, 13 Apr 2014 12:09:32 +0000 (+0000) Subject: Deleting a misplaced setting of 'currmenu'. X-Git-Tag: v2.3.3~170 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7b4faba8ef6f5af5fb8309dcddd0ad4282bd4078;p=nano.git Deleting a misplaced setting of 'currmenu'. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 9f28ab24..c5e7ddec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ 2014-04-13 Benno Schulenberg - * 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 * doc/syntax/Makefile.am: Add four recent syntaxes to the packlist. diff --git a/src/global.c b/src/global.c index 3fea14e2..2b7da227 100644 --- a/src/global.c +++ b/src/global.c @@ -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,