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
parent
06ea93be3e
commit
523bc0fd4f
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue