commit 3ce7e9dcace44ec60bbd08a18b5cc4111c796a72
parent 85c775a3a3b5a11c4e44f423163d912ba56460b3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 9 Jun 2006 16:34:00 +0000
in do_spell(), call total_redraw() instead of total_refresh() after
running the spell-checker, since the latter will display the wrong
shortcut list
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3649 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -346,6 +346,9 @@ CVS code -
do_spell()
- Clarify the error message when creating a temporary file
fails. (DLR)
+ - Call total_redraw() instead of total_refresh() after running
+ the spell-checker, since the latter will display the wrong
+ shortcut list. (DLR)
do_verbatim_input()
- Add a translator comment explaining the "Verbatim Input"
statusbar message. (Benno Schulenberg)
diff --git a/src/text.c b/src/text.c
@@ -2336,7 +2336,7 @@ void do_spell(void)
/* If the spell-checker printed any error messages onscreen, make
* sure that they're cleared off. */
- total_refresh();
+ total_redraw();
if (spell_msg != NULL) {
if (errno == 0)