diff --git a/ChangeLog b/ChangeLog index 353901b3d79e9cd4674aebf0c78744f1205a9a99..e2bebde9cb9050ef89dabb807e95478b90e28efe 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 <bensberg@justemail.net> * src/text.c (do_alt_speller): Avoid the spell checker reporting diff --git a/src/global.c b/src/global.c index 51b15ab8958cd583400f5aa4926b61a7e8562a32..218ff2938a341fb055d9ee1dd76b3506888c55c8 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"))