Karsten Hopp a203d0
To: vim-dev@vim.org
Karsten Hopp a203d0
Subject: Patch 7.2.396
Karsten Hopp a203d0
Fcc: outbox
Karsten Hopp a203d0
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a203d0
Mime-Version: 1.0
Karsten Hopp a203d0
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a203d0
Content-Transfer-Encoding: 8bit
Karsten Hopp a203d0
------------
Karsten Hopp a203d0
Karsten Hopp a203d0
Patch 7.2.396
Karsten Hopp a203d0
Problem:    Get E38 errors. (Dasn)
Karsten Hopp a203d0
Solution:   Set cursor to line 1 instead of 0. (Dominique Pelle)
Karsten Hopp a203d0
Files:	    src/popupmnu.c
Karsten Hopp a203d0
Karsten Hopp a203d0
Karsten Hopp a203d0
*** ../vim-7.2.395/src/popupmnu.c	2010-01-19 18:05:05.000000000 +0100
Karsten Hopp a203d0
--- src/popupmnu.c	2010-03-17 12:59:01.000000000 +0100
Karsten Hopp a203d0
***************
Karsten Hopp a203d0
*** 640,646 ****
Karsten Hopp a203d0
  
Karsten Hopp a203d0
  		    curbuf->b_changed = 0;
Karsten Hopp a203d0
  		    curbuf->b_p_ma = FALSE;
Karsten Hopp a203d0
! 		    curwin->w_cursor.lnum = 0;
Karsten Hopp a203d0
  		    curwin->w_cursor.col = 0;
Karsten Hopp a203d0
  
Karsten Hopp a203d0
  		    if (curwin != curwin_save && win_valid(curwin_save))
Karsten Hopp a203d0
--- 640,646 ----
Karsten Hopp a203d0
  
Karsten Hopp a203d0
  		    curbuf->b_changed = 0;
Karsten Hopp a203d0
  		    curbuf->b_p_ma = FALSE;
Karsten Hopp a203d0
! 		    curwin->w_cursor.lnum = 1;
Karsten Hopp a203d0
  		    curwin->w_cursor.col = 0;
Karsten Hopp a203d0
  
Karsten Hopp a203d0
  		    if (curwin != curwin_save && win_valid(curwin_save))
Karsten Hopp a203d0
*** ../vim-7.2.395/src/version.c	2010-03-17 13:07:01.000000000 +0100
Karsten Hopp a203d0
--- src/version.c	2010-03-17 14:47:30.000000000 +0100
Karsten Hopp a203d0
***************
Karsten Hopp a203d0
*** 683,684 ****
Karsten Hopp a203d0
--- 683,686 ----
Karsten Hopp a203d0
  {   /* Add new patch number below this line */
Karsten Hopp a203d0
+ /**/
Karsten Hopp a203d0
+     396,
Karsten Hopp a203d0
  /**/
Karsten Hopp a203d0
Karsten Hopp a203d0
-- 
Karsten Hopp a203d0
There are 10 kinds of people: Those who understand binary and those who don't.
Karsten Hopp a203d0
Karsten Hopp a203d0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a203d0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a203d0
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp a203d0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///