From 523bc0fd4f1c6cc12bb24f7bf58cffc2392b1241 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 4 Apr 2016 17:43:31 +0200 Subject: [PATCH] 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 --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index 78a56a71..01c4b2e0 100644 --- 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. */