073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.440
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.440
073263
Problem:    Omni complete popup drawn incorrectly.
073263
Solution:   Call validate_cursor() instead of check_cursor(). (Hirohito
073263
	    Higashi)
073263
Files:	    src/edit.c
073263
073263
073263
*** ../vim-7.4.439/src/edit.c	2014-09-09 16:32:35.828534252 +0200
073263
--- src/edit.c	2014-09-09 17:59:17.824545615 +0200
073263
***************
073263
*** 4035,4041 ****
073263
  	goto theend;
073263
      }
073263
      curwin->w_cursor = pos;	/* restore the cursor position */
073263
!     check_cursor();
073263
      if (!equalpos(curwin->w_cursor, pos))
073263
      {
073263
  	EMSG(_(e_compldel));
073263
--- 4035,4041 ----
073263
  	goto theend;
073263
      }
073263
      curwin->w_cursor = pos;	/* restore the cursor position */
073263
!     validate_cursor();
073263
      if (!equalpos(curwin->w_cursor, pos))
073263
      {
073263
  	EMSG(_(e_compldel));
073263
***************
073263
*** 5273,5279 ****
073263
  		return FAIL;
073263
  	    }
073263
  	    curwin->w_cursor = pos;	/* restore the cursor position */
073263
! 	    check_cursor();
073263
  	    if (!equalpos(curwin->w_cursor, pos))
073263
  	    {
073263
  		EMSG(_(e_compldel));
073263
--- 5273,5279 ----
073263
  		return FAIL;
073263
  	    }
073263
  	    curwin->w_cursor = pos;	/* restore the cursor position */
073263
! 	    validate_cursor();
073263
  	    if (!equalpos(curwin->w_cursor, pos))
073263
  	    {
073263
  		EMSG(_(e_compldel));
073263
*** ../vim-7.4.439/src/version.c	2014-09-09 17:47:34.584544079 +0200
073263
--- src/version.c	2014-09-09 17:57:33.232545387 +0200
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     440,
073263
  /**/
073263
073263
-- 
073263
Nobody will ever need more than 640 kB RAM.
073263
		-- Bill Gates, 1983
073263
Windows 98 requires 16 MB RAM.
073263
		-- Bill Gates, 1999
073263
Logical conclusion: Nobody will ever need Windows 98.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///