aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-21 23:43:01 +0200
committerGitHub <noreply@github.com>2019-08-21 23:43:01 +0200
commit86c182c9df5d3504248d36315930e27a5e63abd1 (patch)
treedec795afde71b489a26002d06c840a636bcc705d /src/nvim/spell.c
parentfc12ada4f1f3ca8a1fabae5184d2bdabc33b55a3 (diff)
parent396772c73bc1edb4309bdc10549db652d34f3f91 (diff)
downloadrneovim-86c182c9df5d3504248d36315930e27a5e63abd1.tar.gz
rneovim-86c182c9df5d3504248d36315930e27a5e63abd1.tar.bz2
rneovim-86c182c9df5d3504248d36315930e27a5e63abd1.zip
Merge #10823 from janlazo/vim-8.1.1124
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 8d800843f8..40bb882948 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -7332,7 +7332,7 @@ static void dump_word(slang_T *slang, char_u *word, char_u *pat, int *dir, int d
? 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;
}