commit | f4cd3e8074641af68bf2b6a8579c3da58f0ac013 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 22 22:47:02 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 22 22:47:02 2005 +0000 |
tree | e0d8399f0df9baaaff825e575da4625935c64583 | |
parent | bb1004ee56bde6345b469568e2bdd86b54b32bf7 [diff] [blame] |
updated for version 7.0175
diff --git a/src/edit.c b/src/edit.c index f4f3f9a..c21c7e3 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -5113,7 +5113,8 @@ * 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;