1a924cb
To: vim-dev@vim.org
1a924cb
Subject: Patch 7.2.282
1a924cb
Fcc: outbox
1a924cb
From: Bram Moolenaar <Bram@moolenaar.net>
1a924cb
Mime-Version: 1.0
1a924cb
Content-Type: text/plain; charset=UTF-8
1a924cb
Content-Transfer-Encoding: 8bit
1a924cb
------------
1a924cb
1a924cb
Patch 7.2.282
1a924cb
Problem:    A fold can't be closed.
1a924cb
Solution:   Initialize fd_small to MAYBE. (Lech Lorens)
1a924cb
Files:	    src/fold.c
1a924cb
1a924cb
1a924cb
*** ../vim-7.2.281/src/fold.c	2009-11-03 16:29:48.000000000 +0100
1a924cb
--- src/fold.c	2009-11-03 17:41:50.000000000 +0100
1a924cb
***************
1a924cb
*** 2851,2856 ****
1a924cb
--- 2851,2858 ----
1a924cb
      fp[1].fd_top = bot + 1;
1a924cb
      fp[1].fd_len = fp->fd_len - (fp[1].fd_top - fp->fd_top);
1a924cb
      fp[1].fd_flags = fp->fd_flags;
1a924cb
+     fp[1].fd_small = MAYBE;
1a924cb
+     fp->fd_small = MAYBE;
1a924cb
  
1a924cb
      /* Move nested folds below bot to new fold.  There can't be
1a924cb
       * any between top and bot, they have been removed by the caller. */
1a924cb
*** ../vim-7.2.281/src/version.c	2009-11-03 17:36:09.000000000 +0100
1a924cb
--- src/version.c	2009-11-03 17:59:12.000000000 +0100
1a924cb
***************
1a924cb
*** 678,679 ****
1a924cb
--- 678,681 ----
1a924cb
  {   /* Add new patch number below this line */
1a924cb
+ /**/
1a924cb
+     282,
1a924cb
  /**/
1a924cb
1a924cb
-- 
1a924cb
You can be stopped by the police for biking over 65 miles per hour.
1a924cb
You are not allowed to walk across a street on your hands.
1a924cb
		[real standing laws in Connecticut, United States of America]
1a924cb
1a924cb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
1a924cb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
1a924cb
\\\        download, build and distribute -- http://www.A-A-P.org        ///
1a924cb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///