components/vim/vim72-patches/7.2.282
changeset 198 172fc01ce997
equal deleted inserted replaced
197:fd801ec0737c 198:172fc01ce997
       
     1 To: [email protected]
       
     2 Subject: Patch 7.2.282
       
     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.282
       
    11 Problem:    A fold can't be closed.
       
    12 Solution:   Initialize fd_small to MAYBE. (Lech Lorens)
       
    13 Files:	    src/fold.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.281/src/fold.c	2009-11-03 16:29:48.000000000 +0100
       
    17 --- src/fold.c	2009-11-03 17:41:50.000000000 +0100
       
    18 ***************
       
    19 *** 2851,2856 ****
       
    20 --- 2851,2858 ----
       
    21       fp[1].fd_top = bot + 1;
       
    22       fp[1].fd_len = fp->fd_len - (fp[1].fd_top - fp->fd_top);
       
    23       fp[1].fd_flags = fp->fd_flags;
       
    24 +     fp[1].fd_small = MAYBE;
       
    25 +     fp->fd_small = MAYBE;
       
    26   
       
    27       /* Move nested folds below bot to new fold.  There can't be
       
    28        * any between top and bot, they have been removed by the caller. */
       
    29 *** ../vim-7.2.281/src/version.c	2009-11-03 17:36:09.000000000 +0100
       
    30 --- src/version.c	2009-11-03 17:59:12.000000000 +0100
       
    31 ***************
       
    32 *** 678,679 ****
       
    33 --- 678,681 ----
       
    34   {   /* Add new patch number below this line */
       
    35 + /**/
       
    36 +     282,
       
    37   /**/
       
    38 
       
    39 -- 
       
    40 You can be stopped by the police for biking over 65 miles per hour.
       
    41 You are not allowed to walk across a street on your hands.
       
    42 		[real standing laws in Connecticut, United States of America]
       
    43 
       
    44  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    45 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    46 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    47  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///