summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 8b6533649..ad1397088 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -15658,7 +15658,7 @@ dump_word(slang, word, pat, dir, dumpflags, wordflags, lnum)
? MB_STRNICMP(p, pat, STRLEN(pat)) == 0
: STRNCMP(p, pat, STRLEN(pat)) == 0)
&& ins_compl_add_infercase(p, (int)STRLEN(p),
- FALSE, NULL, *dir, 0) == OK)
+ p_ic, NULL, *dir, 0) == OK)
/* if dir was BACKWARD then honor it just once */
*dir = FORWARD;
}