]> git.wh0rd.org Git - nano.git/commitdiff
Okay, I guess an edit_update is needed
authorChris Allegretta <chrisa@asty.org>
Tue, 10 Dec 2002 03:03:20 +0000 (03:03 +0000)
committerChris Allegretta <chrisa@asty.org>
Tue, 10 Dec 2002 03:03:20 +0000 (03:03 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1328 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index 330f1373fe5c0c22a853ae9b363a960db5f1eee1..890d5cdb1afde05412c4715179288dcc9e4c62c2 100644 (file)
--- 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 */