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
This commit is contained in:
Benno Schulenberg 2015-03-25 16:23:45 +00:00
parent eae9f282de
commit ff4a457d82
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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();