1
0
forked from aniani/vim

updated for version 7.1-161

This commit is contained in:
Bram Moolenaar
2007-11-24 20:28:24 +00:00
parent 9f10875ed0
commit e0ca7b2b04
3 changed files with 25 additions and 8 deletions

View File

@@ -2236,7 +2236,7 @@ ins_compl_add_infercase(str, len, icase, fname, dir, flags)
while (i < actual_len && (p - IObuff + 6) < IOSIZE)
#ifdef FEAT_MBYTE
if (has_mbyte)
p += mb_char2bytes(wca[i++], p);
p += (*mb_char2bytes)(wca[i++], p);
else
#endif
*(p++) = wca[i++];
@@ -6444,8 +6444,10 @@ free_last_insert()
{
vim_free(last_insert);
last_insert = NULL;
# ifdef FEAT_INS_EXPAND
vim_free(compl_orig_text);
compl_orig_text = NULL;
# endif
}
#endif