1
0
forked from aniani/vim

updated for version 7.0g04

This commit is contained in:
Bram Moolenaar
2006-05-05 21:09:41 +00:00
parent 54a709eb08
commit f3a678875f
3 changed files with 29 additions and 4 deletions

View File

@@ -15656,8 +15656,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),
dumpflags & DUMPFLAG_ICASE,
NULL, *dir, 0) == OK)
FALSE, NULL, *dir, 0) == OK)
/* if dir was BACKWARD then honor it just once */
*dir = FORWARD;
}