diff src/edit.c @ 6209:1f578cd9a657 v7.4.440

updated for version 7.4.440 Problem: Omni complete popup drawn incorrectly. Solution: Call validate_cursor() instead of check_cursor(). (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Sep 2014 18:29:33 +0200
parents b98af9af378e
children 5e998fc610d5
line wrap: on
line diff
--- 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));