speller: don't proceed when the user aborts the searching

When searching for a misspelled word takes a while, and the user
stops this search with ^C, then abort the spelling-checking session.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
master
Benno Schulenberg 2016-04-04 17:43:31 +02:00
parent 06ea93be3e
commit 523bc0fd4f
1 changed files with 1 additions and 1 deletions

View File

@ -2359,7 +2359,7 @@ bool do_int_spell_fix(const char *word)
filestruct *edittop_save = openfile->edittop; filestruct *edittop_save = openfile->edittop;
filestruct *current_save = openfile->current; filestruct *current_save = openfile->current;
/* Save where we are. */ /* Save where we are. */
bool proceed = TRUE; bool proceed = FALSE;
/* The return value of this function. */ /* The return value of this function. */
bool result; bool result;
/* The return value of searching for a misspelled word. */ /* The return value of searching for a misspelled word. */