0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0175

This commit is contained in:
Bram Moolenaar
2005-12-22 22:47:02 +00:00
parent bb1004ee56
commit f4cd3e8074
24 changed files with 149 additions and 28 deletions

View File

@@ -5113,7 +5113,8 @@ stop_insert(end_insert_pos, esc)
* otherwise CTRL-O w and then <Left> will clear "last_insert".
*/
ptr = get_inserted();
if (did_restart_edit == 0 || (ptr != NULL && STRLEN(ptr) > new_insert_skip))
if (did_restart_edit == 0 || (ptr != NULL
&& (int)STRLEN(ptr) > new_insert_skip))
{
vim_free(last_insert);
last_insert = ptr;