99b86a7
To: vim-dev@vim.org
99b86a7
Subject: patch 7.1.118
99b86a7
Fcc: outbox
99b86a7
From: Bram Moolenaar <Bram@moolenaar.net>
99b86a7
Mime-Version: 1.0
99b86a7
Content-Type: text/plain; charset=ISO-8859-1
99b86a7
Content-Transfer-Encoding: 8bit
99b86a7
------------
99b86a7
99b86a7
Patch 7.1.118 (after 7.1.107)
99b86a7
Problem:    Compiler warning for Visual C compiler.
99b86a7
Solution:   Add typecast. (Mike Williams)
99b86a7
Files:	    src/ops.c
99b86a7
99b86a7
99b86a7
*** ../vim-7.1.117/src/ops.c	Thu Sep 13 22:40:47 2007
99b86a7
--- src/ops.c	Mon Sep 24 18:30:09 2007
99b86a7
***************
99b86a7
*** 2605,2611 ****
99b86a7
  	/* Auto-indenting may have changed the indent.  If the cursor was past
99b86a7
  	 * the indent, exclude that indent change from the inserted text. */
99b86a7
  	firstline = ml_get(oap->start.lnum);
99b86a7
! 	if (bd.textcol > pre_indent)
99b86a7
  	{
99b86a7
  	    long new_indent = (long)(skipwhite(firstline) - firstline);
99b86a7
  
99b86a7
--- 2605,2611 ----
99b86a7
  	/* Auto-indenting may have changed the indent.  If the cursor was past
99b86a7
  	 * the indent, exclude that indent change from the inserted text. */
99b86a7
  	firstline = ml_get(oap->start.lnum);
99b86a7
! 	if (bd.textcol > (colnr_T)pre_indent)
99b86a7
  	{
99b86a7
  	    long new_indent = (long)(skipwhite(firstline) - firstline);
99b86a7
  
99b86a7
*** ../vim-7.1.117/src/version.c	Tue Sep 25 12:50:00 2007
99b86a7
--- src/version.c	Tue Sep 25 14:18:37 2007
99b86a7
***************
99b86a7
*** 668,669 ****
99b86a7
--- 668,671 ----
99b86a7
  {   /* Add new patch number below this line */
99b86a7
+ /**/
99b86a7
+     118,
99b86a7
  /**/
99b86a7
99b86a7
-- 
99b86a7
BRIDGEKEEPER: What is your favorite editor?
99b86a7
GAWAIN:       Emacs ...  No, Viiiiiiiiiiimmmmmmm!
99b86a7
           "Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
99b86a7
99b86a7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
99b86a7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
99b86a7
\\\        download, build and distribute -- http://www.A-A-P.org        ///
99b86a7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///