1
0
forked from aniani/vim

updated for version 7.3.606

Problem:    CTRL-P completion has a problem with multi-byte characters.
Solution:   Check for next character being NUL properly.  (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2012-07-19 17:18:26 +02:00
parent 1a0cee53d4
commit 94c465c53d
3 changed files with 6 additions and 1 deletions

View File

@@ -5141,7 +5141,7 @@ exit_matched:
&& !(compl_cont_status & CONT_SOL)
#endif
&& *startp != NUL
&& *(p = startp + 1) != NUL)
&& *(p = startp + MB_PTR2LEN(startp)) != NUL)
goto search_line;
}
line_breakcheck();