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