From bfd2f5613d3a49a79fd358ce9fa82135a6ad5c52 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Tue, 10 Dec 2002 03:03:20 +0000
Subject: [PATCH] Okay, I guess an edit_update is needed

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1328 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 nano.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nano.c b/nano.c
index 330f1373..890d5cdb 100644
--- a/nano.c
+++ b/nano.c
@@ -1629,7 +1629,7 @@ int do_int_spell_fix(const char *word)
 	    if (!is_whole_word(current_x, current->data, word))
 		continue;
 
-	    edit_refresh();
+	    edit_update(current, current_x);
 	    do_replace_highlight(TRUE, word);
 
 	    /* allow replace word to be corrected */
-- 
GitLab