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