commit 523bc0fd4f1c6cc12bb24f7bf58cffc2392b1241
parent 06ea93be3ee611b189493f313090f28b0d1f4ffc
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 4 Apr 2016 17:43:31 +0200
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>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/text.c b/src/text.c
@@ -2359,7 +2359,7 @@ bool do_int_spell_fix(const char *word)
filestruct *edittop_save = openfile->edittop;
filestruct *current_save = openfile->current;
/* Save where we are. */
- bool proceed = TRUE;
+ bool proceed = FALSE;
/* The return value of this function. */
bool result;
/* The return value of searching for a misspelled word. */