Mercurial > vim
diff src/os_win32.c @ 5553:45ef9d2096e8 v7.4.125
updated for version 7.4.125
Problem: Win32: Dealing with messages may not work for multi-byte chars.
Solution: Use pDispatchMessage(). (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 11 Dec 2013 18:36:33 +0100 |
parents | 9faba192ea90 |
children | b14554844756 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -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 */