Mercurial > vim
diff src/edit.c @ 615:7fe13e0f5dce v7.0175
updated for version 7.0175
author | vimboss |
---|---|
date | Thu, 22 Dec 2005 22:47:02 +0000 |
parents | 53114ef7778f |
children | 9e359e5759f6 |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -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;