comparison src/edit.c @ 1446:f0b3b9ac2147 v7.1.161

updated for version 7.1-161
author vimboss
date Sat, 24 Nov 2007 20:28:24 +0000
parents 77310929a1f9
children b0dabd584b8f
comparison
equal deleted inserted replaced
1445:54a6b47d473e 1446:f0b3b9ac2147
2234 p = IObuff; 2234 p = IObuff;
2235 i = 0; 2235 i = 0;
2236 while (i < actual_len && (p - IObuff + 6) < IOSIZE) 2236 while (i < actual_len && (p - IObuff + 6) < IOSIZE)
2237 #ifdef FEAT_MBYTE 2237 #ifdef FEAT_MBYTE
2238 if (has_mbyte) 2238 if (has_mbyte)
2239 p += mb_char2bytes(wca[i++], p); 2239 p += (*mb_char2bytes)(wca[i++], p);
2240 else 2240 else
2241 #endif 2241 #endif
2242 *(p++) = wca[i++]; 2242 *(p++) = wca[i++];
2243 *p = NUL; 2243 *p = NUL;
2244 2244
6442 void 6442 void
6443 free_last_insert() 6443 free_last_insert()
6444 { 6444 {
6445 vim_free(last_insert); 6445 vim_free(last_insert);
6446 last_insert = NULL; 6446 last_insert = NULL;
6447 # ifdef FEAT_INS_EXPAND
6447 vim_free(compl_orig_text); 6448 vim_free(compl_orig_text);
6448 compl_orig_text = NULL; 6449 compl_orig_text = NULL;
6450 # endif
6449 } 6451 }
6450 #endif 6452 #endif
6451 6453
6452 /* 6454 /*
6453 * Add character "c" to buffer "s". Escape the special meaning of K_SPECIAL 6455 * Add character "c" to buffer "s". Escape the special meaning of K_SPECIAL