commit ff4a457d82bcf2aaf550b9f8f205facb633008eb
parent eae9f282decd32a5e9954ac7b8e2a9ffd274b499
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 25 Mar 2015 16:23:45 +0000
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
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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();