Commit 80838270 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

do_spell() - Dont prompt for replace if we don't change the word in question (Rocco Corsi).

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@917 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 7 additions and 2 deletions
+7 -2
......@@ -30,6 +30,9 @@ CVS Code -
position (David Lawrence Ramsey).
do_wrap()
- Many fixes (David Lawrence Ramsey).
do_spell()
- Dont prompt for replace if we don't change the word in
question (Rocco Corsi).
- po/de.po:
- German translation updates (Karl Eichwalder).
- po/ru.po:
......
......@@ -1482,8 +1482,10 @@ int do_int_spell_fix(char *word)
search_last_line = FALSE;
j = i;
do_replace_loop(prevanswer, fileage, &beginx_top, TRUE, &j);
if (strcmp(prevanswer,answer) != 0) {
j = i;
do_replace_loop(prevanswer, fileage, &beginx_top, TRUE, &j);
}
}
/* restore the search/replace strings */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment