mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.125
Problem: Win32: Dealing with messages may not work for multi-byte chars. Solution: Use pDispatchMessage(). (Ken Takata)
This commit is contained in:
@@ -4282,10 +4282,10 @@ mch_system_piped(char *cmd, int options)
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
if (PeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
|
||||
if (pPeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
pDispatchMessage(&msg);
|
||||
}
|
||||
|
||||
/* write pipe information in the window */
|
||||
|
Reference in New Issue
Block a user