Karsten Hopp e7fc12
To: vim-dev@vim.org
Karsten Hopp e7fc12
Subject: patch 7.1.062
Karsten Hopp e7fc12
Fcc: outbox
Karsten Hopp e7fc12
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e7fc12
Mime-Version: 1.0
Karsten Hopp e7fc12
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp e7fc12
Content-Transfer-Encoding: 8bit
Karsten Hopp e7fc12
------------
Karsten Hopp e7fc12
Karsten Hopp e7fc12
Patch 7.1.062 (after 7.1.038)
Karsten Hopp e7fc12
Problem:    Indents of C comments can be wrong. (John Mullin)
Karsten Hopp e7fc12
Solution:   Adjust ind_len. (Chris Lubinski)
Karsten Hopp e7fc12
Files:	    src/misc1.c
Karsten Hopp e7fc12
Karsten Hopp e7fc12
Karsten Hopp e7fc12
*** ../vim-7.1.061/src/misc1.c	Mon Aug  6 22:27:13 2007
Karsten Hopp e7fc12
--- src/misc1.c	Fri Aug 10 19:41:42 2007
Karsten Hopp e7fc12
***************
Karsten Hopp e7fc12
*** 222,228 ****
Karsten Hopp e7fc12
  	 * than old) */
Karsten Hopp e7fc12
  	while (vim_iswhite(*p))
Karsten Hopp e7fc12
  	    (void)*p++;
Karsten Hopp e7fc12
! 	todo = size-ind_done;
Karsten Hopp e7fc12
      }
Karsten Hopp e7fc12
      else
Karsten Hopp e7fc12
      {
Karsten Hopp e7fc12
--- 222,231 ----
Karsten Hopp e7fc12
  	 * than old) */
Karsten Hopp e7fc12
  	while (vim_iswhite(*p))
Karsten Hopp e7fc12
  	    (void)*p++;
Karsten Hopp e7fc12
! 	todo = size - ind_done;
Karsten Hopp e7fc12
! 	ind_len += todo;    /* Set total length of indent in characters,
Karsten Hopp e7fc12
! 			     * which may have been undercounted until now  */
Karsten Hopp e7fc12
! 
Karsten Hopp e7fc12
      }
Karsten Hopp e7fc12
      else
Karsten Hopp e7fc12
      {
Karsten Hopp e7fc12
*** ../vim-7.1.061/src/version.c	Sat Aug 11 13:57:31 2007
Karsten Hopp e7fc12
--- src/version.c	Sat Aug 11 14:30:52 2007
Karsten Hopp e7fc12
***************
Karsten Hopp e7fc12
*** 668,669 ****
Karsten Hopp e7fc12
--- 668,671 ----
Karsten Hopp e7fc12
  {   /* Add new patch number below this line */
Karsten Hopp e7fc12
+ /**/
Karsten Hopp e7fc12
+     62,
Karsten Hopp e7fc12
  /**/
Karsten Hopp e7fc12
Karsten Hopp e7fc12
-- 
Karsten Hopp e7fc12
hundred-and-one symptoms of being an internet addict:
Karsten Hopp e7fc12
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
Karsten Hopp e7fc12
Karsten Hopp e7fc12
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e7fc12
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e7fc12
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp e7fc12
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///