|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.125
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.125
|
|
|
22c937 |
Problem: Win32: Dealing with messages may not work for multi-byte chars.
|
|
|
22c937 |
Solution: Use pDispatchMessage(). (Ken Takata)
|
|
|
22c937 |
Files: src/os_win32.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.124/src/os_win32.c 2013-12-11 18:21:41.000000000 +0100
|
|
|
22c937 |
--- src/os_win32.c 2013-12-11 18:23:47.000000000 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 4282,4291 ****
|
|
|
22c937 |
{
|
|
|
22c937 |
MSG msg;
|
|
|
22c937 |
|
|
|
22c937 |
! if (PeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
|
|
|
22c937 |
{
|
|
|
22c937 |
TranslateMessage(&msg;;
|
|
|
22c937 |
! DispatchMessage(&msg;;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
/* write pipe information in the window */
|
|
|
22c937 |
--- 4282,4291 ----
|
|
|
22c937 |
{
|
|
|
22c937 |
MSG msg;
|
|
|
22c937 |
|
|
|
22c937 |
! if (pPeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
|
|
|
22c937 |
{
|
|
|
22c937 |
TranslateMessage(&msg;;
|
|
|
22c937 |
! pDispatchMessage(&msg;;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
/* write pipe information in the window */
|
|
|
22c937 |
*** ../vim-7.4.124/src/version.c 2013-12-11 18:21:41.000000000 +0100
|
|
|
22c937 |
--- src/version.c 2013-12-11 18:35:44.000000000 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 125,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Don't believe everything you hear or anything you say.
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|