|
Karsten Hopp |
2694bd |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
2694bd |
Subject: Patch 7.4.589
|
|
Karsten Hopp |
2694bd |
Fcc: outbox
|
|
Karsten Hopp |
2694bd |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
2694bd |
Mime-Version: 1.0
|
|
Karsten Hopp |
2694bd |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
2694bd |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
2694bd |
------------
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
Patch 7.4.589
|
|
Karsten Hopp |
2694bd |
Problem: In the MS-Windows console Vim can't handle greek characters when
|
|
Karsten Hopp |
2694bd |
encoding is utf-8.
|
|
Karsten Hopp |
2694bd |
Solution: Escape K_NUL. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
2694bd |
Files: src/os_win32.c
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
*** ../vim-7.4.588/src/os_win32.c 2014-11-12 16:10:44.254085193 +0100
|
|
Karsten Hopp |
2694bd |
--- src/os_win32.c 2015-01-20 19:36:59.725188180 +0100
|
|
Karsten Hopp |
2694bd |
***************
|
|
Karsten Hopp |
2694bd |
*** 1814,1831 ****
|
|
Karsten Hopp |
2694bd |
if (conv)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
char_u *p = typeahead + typeaheadlen;
|
|
Karsten Hopp |
2694bd |
- char_u *e = typeahead + TYPEAHEADLEN;
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
! while (*p && p < e)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
! if (*p == K_NUL)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
++p;
|
|
Karsten Hopp |
2694bd |
- mch_memmove(p + 1, p, ((size_t)(e - p)) - 1);
|
|
Karsten Hopp |
2694bd |
- *p = 3;
|
|
Karsten Hopp |
2694bd |
- ++n;
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
- ++p;
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
--- 1814,1835 ----
|
|
Karsten Hopp |
2694bd |
if (conv)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
char_u *p = typeahead + typeaheadlen;
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
! if (*p != K_NUL)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
! char_u *e = typeahead + TYPEAHEADLEN;
|
|
Karsten Hopp |
2694bd |
!
|
|
Karsten Hopp |
2694bd |
! while (*p && p < e)
|
|
Karsten Hopp |
2694bd |
{
|
|
Karsten Hopp |
2694bd |
+ if (*p == K_NUL)
|
|
Karsten Hopp |
2694bd |
+ {
|
|
Karsten Hopp |
2694bd |
+ ++p;
|
|
Karsten Hopp |
2694bd |
+ mch_memmove(p + 1, p, ((size_t)(e - p)) - 1);
|
|
Karsten Hopp |
2694bd |
+ *p = 3;
|
|
Karsten Hopp |
2694bd |
+ ++n;
|
|
Karsten Hopp |
2694bd |
+ }
|
|
Karsten Hopp |
2694bd |
++p;
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
}
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
*** ../vim-7.4.588/src/version.c 2015-01-20 19:30:46.669275579 +0100
|
|
Karsten Hopp |
2694bd |
--- src/version.c 2015-01-20 19:35:35.774107846 +0100
|
|
Karsten Hopp |
2694bd |
***************
|
|
Karsten Hopp |
2694bd |
*** 743,744 ****
|
|
Karsten Hopp |
2694bd |
--- 743,746 ----
|
|
Karsten Hopp |
2694bd |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
2694bd |
+ /**/
|
|
Karsten Hopp |
2694bd |
+ 589,
|
|
Karsten Hopp |
2694bd |
/**/
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
--
|
|
Karsten Hopp |
2694bd |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
2694bd |
95. Only communication in your household is through email.
|
|
Karsten Hopp |
2694bd |
|
|
Karsten Hopp |
2694bd |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
2694bd |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
2694bd |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
2694bd |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|