components/vim/vim72-patches/7.2.396
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.396
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.396
       
    11 Problem:    Get E38 errors. (Dasn)
       
    12 Solution:   Set cursor to line 1 instead of 0. (Dominique Pelle)
       
    13 Files:	    src/popupmnu.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.395/src/popupmnu.c	2010-01-19 18:05:05.000000000 +0100
       
    17 --- src/popupmnu.c	2010-03-17 12:59:01.000000000 +0100
       
    18 ***************
       
    19 *** 640,646 ****
       
    20   
       
    21   		    curbuf->b_changed = 0;
       
    22   		    curbuf->b_p_ma = FALSE;
       
    23 ! 		    curwin->w_cursor.lnum = 0;
       
    24   		    curwin->w_cursor.col = 0;
       
    25   
       
    26   		    if (curwin != curwin_save && win_valid(curwin_save))
       
    27 --- 640,646 ----
       
    28   
       
    29   		    curbuf->b_changed = 0;
       
    30   		    curbuf->b_p_ma = FALSE;
       
    31 ! 		    curwin->w_cursor.lnum = 1;
       
    32   		    curwin->w_cursor.col = 0;
       
    33   
       
    34   		    if (curwin != curwin_save && win_valid(curwin_save))
       
    35 *** ../vim-7.2.395/src/version.c	2010-03-17 13:07:01.000000000 +0100
       
    36 --- src/version.c	2010-03-17 14:47:30.000000000 +0100
       
    37 ***************
       
    38 *** 683,684 ****
       
    39 --- 683,686 ----
       
    40   {   /* Add new patch number below this line */
       
    41 + /**/
       
    42 +     396,
       
    43   /**/
       
    44 
       
    45 -- 
       
    46 There are 10 kinds of people: Those who understand binary and those who don't.
       
    47 
       
    48  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    49 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    50 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    51  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///