nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 7b4faba8ef6f5af5fb8309dcddd0ad4282bd4078
parent ade84e6fa1870c6f173bd12509b4af13c88f7d84
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun, 13 Apr 2014 12:09:32 +0000

Deleting a misplaced setting of 'currmenu'.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 5+++--
Msrc/global.c | 2--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git 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. diff --git 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,