diff --git a/ChangeLog b/ChangeLog index e2bebde9cb9050ef89dabb807e95478b90e28efe..55b17819278470b871ac84695a280170072fb926 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ 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. + * src/text.c (do_formatter): Remove unneeded statement -- nothing + has changed the value of 'currmenu'. 2015-03-23 Benno Schulenberg <bensberg@justemail.net> * src/text.c (do_alt_speller): Avoid the spell checker reporting diff --git a/src/text.c b/src/text.c index 5d07752aecea5b0d0bbe28006131fdb10d033538..a394d1ad25dcb17ad52c5a1456fb7590971e76ad 100644 --- a/src/text.c +++ b/src/text.c @@ -3364,8 +3364,6 @@ void do_formatter(void) unlink(temp); free(temp); - currmenu = MMAIN; - /* If the formatter printed any error messages onscreen, make * sure that they're cleared off. */ total_refresh();