Commit ff4a457d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
solves https://bugs.launchpad.net/ubuntu/+source/nano/+bug/481363. solves https://bugs.launchpad.net/ubuntu/+source/nano/+bug/481363.
* src/global.c (strtomenu): Remove mistaken menu name -- as the * src/global.c (strtomenu): Remove mistaken menu name -- as the
formatter allows no interaction it needs no associated menu. 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> 2015-03-23 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_alt_speller): Avoid the spell checker reporting * src/text.c (do_alt_speller): Avoid the spell checker reporting
......
...@@ -3364,8 +3364,6 @@ void do_formatter(void) ...@@ -3364,8 +3364,6 @@ void do_formatter(void)
unlink(temp); unlink(temp);
free(temp); free(temp);
currmenu = MMAIN;
/* If the formatter printed any error messages onscreen, make /* If the formatter printed any error messages onscreen, make
* sure that they're cleared off. */ * sure that they're cleared off. */
total_refresh(); total_refresh();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment