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