|
Karsten Hopp |
b1748b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
b1748b |
Subject: Patch 7.3.600
|
|
Karsten Hopp |
b1748b |
Fcc: outbox
|
|
Karsten Hopp |
b1748b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
b1748b |
Mime-Version: 1.0
|
|
Karsten Hopp |
b1748b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
b1748b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
b1748b |
------------
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
Patch 7.3.600
|
|
Karsten Hopp |
b1748b |
Problem: <f-args> is not expanded properly with DBCS encoding.
|
|
Karsten Hopp |
b1748b |
Solution: Skip over character instead of byte. (Yukihiro Nakadaira)
|
|
Karsten Hopp |
b1748b |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
*** ../vim-7.3.599/src/ex_docmd.c 2012-07-06 18:27:34.000000000 +0200
|
|
Karsten Hopp |
b1748b |
--- src/ex_docmd.c 2012-07-10 19:20:10.000000000 +0200
|
|
Karsten Hopp |
b1748b |
***************
|
|
Karsten Hopp |
b1748b |
*** 5845,5852 ****
|
|
Karsten Hopp |
b1748b |
--- 5845,5858 ----
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
else
|
|
Karsten Hopp |
b1748b |
{
|
|
Karsten Hopp |
b1748b |
+ #ifdef FEAT_MBYTE
|
|
Karsten Hopp |
b1748b |
+ int charlen = (*mb_ptr2len)(p);
|
|
Karsten Hopp |
b1748b |
+ len += charlen;
|
|
Karsten Hopp |
b1748b |
+ p += charlen;
|
|
Karsten Hopp |
b1748b |
+ #else
|
|
Karsten Hopp |
b1748b |
++len;
|
|
Karsten Hopp |
b1748b |
++p;
|
|
Karsten Hopp |
b1748b |
+ #endif
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
***************
|
|
Karsten Hopp |
b1748b |
*** 5889,5895 ****
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
else
|
|
Karsten Hopp |
b1748b |
{
|
|
Karsten Hopp |
b1748b |
! *q++ = *p++;
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
*q++ = '"';
|
|
Karsten Hopp |
b1748b |
--- 5895,5901 ----
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
else
|
|
Karsten Hopp |
b1748b |
{
|
|
Karsten Hopp |
b1748b |
! MB_COPY_CHAR(p, q);
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
}
|
|
Karsten Hopp |
b1748b |
*q++ = '"';
|
|
Karsten Hopp |
b1748b |
*** ../vim-7.3.599/src/version.c 2012-07-10 18:31:49.000000000 +0200
|
|
Karsten Hopp |
b1748b |
--- src/version.c 2012-07-10 19:21:29.000000000 +0200
|
|
Karsten Hopp |
b1748b |
***************
|
|
Karsten Hopp |
b1748b |
*** 716,717 ****
|
|
Karsten Hopp |
b1748b |
--- 716,719 ----
|
|
Karsten Hopp |
b1748b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
b1748b |
+ /**/
|
|
Karsten Hopp |
b1748b |
+ 600,
|
|
Karsten Hopp |
b1748b |
/**/
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
--
|
|
Karsten Hopp |
b1748b |
In a world without walls and borders, who needs windows and gates?
|
|
Karsten Hopp |
b1748b |
|
|
Karsten Hopp |
b1748b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
b1748b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
b1748b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
b1748b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|