summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-06 14:22:21 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-06 14:22:21 +0200
commitd9eefe3155277cec71105f52d34a76f7a3237e7f (patch)
treeb2a42a781316b5a5e4a5537bd4da12b3dedc5f50 /src/spell.c
parent73655cf0ca37a9aa8f56fc51bb853a8b1f7b43d4 (diff)
downloadvim-git-d9eefe3155277cec71105f52d34a76f7a3237e7f.tar.gz
patch 8.1.1124: insert completion flags are mixed upv8.1.1124
Problem: Insert completion flags are mixed up. Solution: Clean up flags use of ins_compl_add() and cp_flags.
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 99283fc52..ae4db12c0 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8627,7 +8627,7 @@ dump_word(
? MB_STRNICMP(p, pat, STRLEN(pat)) == 0
: STRNCMP(p, pat, STRLEN(pat)) == 0)
&& ins_compl_add_infercase(p, (int)STRLEN(p),
- p_ic, NULL, *dir, 0) == OK)
+ p_ic, NULL, *dir, FALSE) == OK)
/* if dir was BACKWARD then honor it just once */
*dir = FORWARD;
}