diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-09-09 18:29:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-09-09 18:29:33 +0200 |
commit | 834def3872425b04aa0f52f868d056e60e614516 (patch) | |
tree | 723c04e875ebbae3f18600333a7796ea824ee4f4 /src/edit.c | |
parent | f638cbce7623e2233f7912a9493cd51e6adff159 (diff) |
updated for version 7.4.440v7.4.440
Problem: Omni complete popup drawn incorrectly.
Solution: Call validate_cursor() instead of check_cursor(). (Hirohito
Higashi)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c index 7e5e29ee91..8243890c52 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)); |