diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-22 22:47:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-22 22:47:02 +0000 |
commit | f4cd3e8074641af68bf2b6a8579c3da58f0ac013 (patch) | |
tree | e0d8399f0df9baaaff825e575da4625935c64583 /src/edit.c | |
parent | bb1004ee56bde6345b469568e2bdd86b54b32bf7 (diff) | |
download | vim-git-7.0175.tar.gz |
updated for version 7.0175v7.0175
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index f4f3f9a77..c21c7e3fb 100644 --- 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; |