From f4cd3e8074641af68bf2b6a8579c3da58f0ac013 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 22 Dec 2005 22:47:02 +0000 Subject: updated for version 7.0175 --- src/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/edit.c') 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 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; -- cgit v1.2.1