diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-11-24 20:28:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-11-24 20:28:24 +0000 |
commit | e0ca7b2b04fda8487c6a161cc4a3b044f877c618 (patch) | |
tree | 2cf1d803a58348c078399158fcb289e9fb2339cc /src/edit.c | |
parent | 9f10875ed0682c98fb0c63f315cf04236b474168 (diff) |
updated for version 7.1-161v7.1.161
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index c16dadddef..f2fe692dbd 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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 |