|
Karsten Hopp |
1900a4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
1900a4 |
Subject: Patch 7.4.058
|
|
Karsten Hopp |
1900a4 |
Fcc: outbox
|
|
Karsten Hopp |
1900a4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1900a4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1900a4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
1900a4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1900a4 |
------------
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
Patch 7.4.058
|
|
Karsten Hopp |
1900a4 |
Problem: Warnings on 64 bit Windows.
|
|
Karsten Hopp |
1900a4 |
Solution: Add type casts. (Mike Williams)
|
|
Karsten Hopp |
1900a4 |
Files: src/ops.c
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
*** ../vim-7.4.057/src/ops.c 2013-10-06 17:46:48.000000000 +0200
|
|
Karsten Hopp |
1900a4 |
--- src/ops.c 2013-11-02 23:56:15.000000000 +0100
|
|
Karsten Hopp |
1900a4 |
***************
|
|
Karsten Hopp |
1900a4 |
*** 5009,5022 ****
|
|
Karsten Hopp |
1900a4 |
if (second_indent > 0) /* the "leader" for FO_Q_SECOND */
|
|
Karsten Hopp |
1900a4 |
{
|
|
Karsten Hopp |
1900a4 |
char_u *p = ml_get_curline();
|
|
Karsten Hopp |
1900a4 |
! int indent = skipwhite(p) - p;
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
if (indent > 0)
|
|
Karsten Hopp |
1900a4 |
{
|
|
Karsten Hopp |
1900a4 |
(void)del_bytes(indent, FALSE, FALSE);
|
|
Karsten Hopp |
1900a4 |
mark_col_adjust(curwin->w_cursor.lnum,
|
|
Karsten Hopp |
1900a4 |
(colnr_T)0, 0L, (long)-indent);
|
|
Karsten Hopp |
1900a4 |
! }
|
|
Karsten Hopp |
1900a4 |
}
|
|
Karsten Hopp |
1900a4 |
curwin->w_cursor.lnum--;
|
|
Karsten Hopp |
1900a4 |
if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
|
|
Karsten Hopp |
1900a4 |
--- 5009,5022 ----
|
|
Karsten Hopp |
1900a4 |
if (second_indent > 0) /* the "leader" for FO_Q_SECOND */
|
|
Karsten Hopp |
1900a4 |
{
|
|
Karsten Hopp |
1900a4 |
char_u *p = ml_get_curline();
|
|
Karsten Hopp |
1900a4 |
! int indent = (int)(skipwhite(p) - p);
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
if (indent > 0)
|
|
Karsten Hopp |
1900a4 |
{
|
|
Karsten Hopp |
1900a4 |
(void)del_bytes(indent, FALSE, FALSE);
|
|
Karsten Hopp |
1900a4 |
mark_col_adjust(curwin->w_cursor.lnum,
|
|
Karsten Hopp |
1900a4 |
(colnr_T)0, 0L, (long)-indent);
|
|
Karsten Hopp |
1900a4 |
! }
|
|
Karsten Hopp |
1900a4 |
}
|
|
Karsten Hopp |
1900a4 |
curwin->w_cursor.lnum--;
|
|
Karsten Hopp |
1900a4 |
if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
|
|
Karsten Hopp |
1900a4 |
*** ../vim-7.4.057/src/version.c 2013-11-02 23:29:17.000000000 +0100
|
|
Karsten Hopp |
1900a4 |
--- src/version.c 2013-11-02 23:55:01.000000000 +0100
|
|
Karsten Hopp |
1900a4 |
***************
|
|
Karsten Hopp |
1900a4 |
*** 740,741 ****
|
|
Karsten Hopp |
1900a4 |
--- 740,743 ----
|
|
Karsten Hopp |
1900a4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1900a4 |
+ /**/
|
|
Karsten Hopp |
1900a4 |
+ 58,
|
|
Karsten Hopp |
1900a4 |
/**/
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
--
|
|
Karsten Hopp |
1900a4 |
Citizens are not allowed to attend a movie house or theater nor ride in a
|
|
Karsten Hopp |
1900a4 |
public streetcar within at least four hours after eating garlic.
|
|
Karsten Hopp |
1900a4 |
[real standing law in Indiana, United States of America]
|
|
Karsten Hopp |
1900a4 |
|
|
Karsten Hopp |
1900a4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1900a4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1900a4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
1900a4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|