From ff4a457d82bcf2aaf550b9f8f205facb633008eb Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 25 Mar 2015 16:23:45 +0000 Subject: [PATCH] Removing unneeded statement -- nothing has changed the value of 'currmenu'. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5161 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/text.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2bebde9..55b17819 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 * src/text.c (do_alt_speller): Avoid the spell checker reporting diff --git a/src/text.c b/src/text.c index 5d07752a..a394d1ad 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();