From: Bram Moolenaar Date: Tue, 9 Sep 2014 16:29:33 +0000 (+0200) Subject: updated for version 7.4.440 X-Git-Tag: v7.4.440 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=834def3872425b04aa0f52f868d056e60e614516;p=vim updated for version 7.4.440 Problem: Omni complete popup drawn incorrectly. Solution: Call validate_cursor() instead of check_cursor(). (Hirohito Higashi) --- diff --git a/src/edit.c b/src/edit.c index 7e5e29ee9..8243890c5 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4035,7 +4035,7 @@ expand_by_function(type, base) goto theend; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); @@ -5273,7 +5273,7 @@ ins_complete(c) return FAIL; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); diff --git a/src/version.c b/src/version.c index edc87f354..2a86184d9 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 440, /**/ 439, /**/