From eae9f282decd32a5e9954ac7b8e2a9ffd274b499 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 25 Mar 2015 16:20:45 +0000 Subject: [PATCH] Removing a mistaken menu name -- as the formatter allows no interaction it needs no associated menu. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5160 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/global.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 353901b3..e2bebde9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ not cause comment colouring. (Inside single-qouted strings neither, but then quotes in comments will be coloured like strings.) This solves https://bugs.launchpad.net/ubuntu/+source/nano/+bug/481363. + * src/global.c (strtomenu): Remove mistaken menu name -- as the + formatter allows no interaction it needs no associated menu. 2015-03-23 Benno Schulenberg * src/text.c (do_alt_speller): Avoid the spell checker reporting diff --git a/src/global.c b/src/global.c index 51b15ab8..218ff293 100644 --- a/src/global.c +++ b/src/global.c @@ -1528,7 +1528,7 @@ int strtomenu(char *input) return MHELP; #endif #ifndef DISABLE_SPELLER - else if (!strcasecmp(input, "spell") || !strcasecmp(input, "formatter")) + else if (!strcasecmp(input, "spell")) return MSPELL; #endif else if (!strcasecmp(input, "linter"))