|
Karsten Hopp |
8778c5 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
8778c5 |
Subject: Patch 7.4.796
|
|
Karsten Hopp |
8778c5 |
Fcc: outbox
|
|
Karsten Hopp |
8778c5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8778c5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
8778c5 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
8778c5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8778c5 |
------------
|
|
Karsten Hopp |
8778c5 |
|
|
Karsten Hopp |
8778c5 |
Patch 7.4.796
|
|
Karsten Hopp |
8778c5 |
Problem: Warning from 64 bit compiler.
|
|
Karsten Hopp |
8778c5 |
Solution: Add type cast. (Mike Williams)
|
|
Karsten Hopp |
8778c5 |
Files: src/ops.c
|
|
Karsten Hopp |
8778c5 |
|
|
Karsten Hopp |
8778c5 |
|
|
Karsten Hopp |
8778c5 |
*** ../vim-7.4.795/src/ops.c 2015-07-17 14:16:49.850596721 +0200
|
|
Karsten Hopp |
8778c5 |
--- src/ops.c 2015-07-22 22:44:23.831980567 +0200
|
|
Karsten Hopp |
8778c5 |
***************
|
|
Karsten Hopp |
8778c5 |
*** 5429,5438 ****
|
|
Karsten Hopp |
8778c5 |
if (VIsual_mode == 'V')
|
|
Karsten Hopp |
8778c5 |
{
|
|
Karsten Hopp |
8778c5 |
VIsual.col = 0;
|
|
Karsten Hopp |
8778c5 |
! curwin->w_cursor.col = STRLEN(ptr);
|
|
Karsten Hopp |
8778c5 |
}
|
|
Karsten Hopp |
8778c5 |
! else if (VIsual_mode == Ctrl_V &&
|
|
Karsten Hopp |
8778c5 |
! VIsual.col > curwin->w_cursor.col)
|
|
Karsten Hopp |
8778c5 |
{
|
|
Karsten Hopp |
8778c5 |
t = VIsual;
|
|
Karsten Hopp |
8778c5 |
VIsual.col = curwin->w_cursor.col;
|
|
Karsten Hopp |
8778c5 |
--- 5429,5437 ----
|
|
Karsten Hopp |
8778c5 |
if (VIsual_mode == 'V')
|
|
Karsten Hopp |
8778c5 |
{
|
|
Karsten Hopp |
8778c5 |
VIsual.col = 0;
|
|
Karsten Hopp |
8778c5 |
! curwin->w_cursor.col = (colnr_T)STRLEN(ptr);
|
|
Karsten Hopp |
8778c5 |
}
|
|
Karsten Hopp |
8778c5 |
! else if (VIsual_mode == Ctrl_V && VIsual.col > curwin->w_cursor.col)
|
|
Karsten Hopp |
8778c5 |
{
|
|
Karsten Hopp |
8778c5 |
t = VIsual;
|
|
Karsten Hopp |
8778c5 |
VIsual.col = curwin->w_cursor.col;
|
|
Karsten Hopp |
8778c5 |
*** ../vim-7.4.795/src/version.c 2015-07-22 22:19:33.073837041 +0200
|
|
Karsten Hopp |
8778c5 |
--- src/version.c 2015-07-22 22:44:59.071652665 +0200
|
|
Karsten Hopp |
8778c5 |
***************
|
|
Karsten Hopp |
8778c5 |
*** 743,744 ****
|
|
Karsten Hopp |
8778c5 |
--- 743,746 ----
|
|
Karsten Hopp |
8778c5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8778c5 |
+ /**/
|
|
Karsten Hopp |
8778c5 |
+ 796,
|
|
Karsten Hopp |
8778c5 |
/**/
|
|
Karsten Hopp |
8778c5 |
|
|
Karsten Hopp |
8778c5 |
--
|
|
Karsten Hopp |
8778c5 |
Place mark here ->[ ]<- if you want a dirty monitor.
|
|
Karsten Hopp |
8778c5 |
|
|
Karsten Hopp |
8778c5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8778c5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8778c5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
8778c5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|