jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.125

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