diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-12-11 18:36:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-12-11 18:36:33 +0100 |
commit | 175d0704dfb1247be7f414bfbcf9f5cfeced2794 (patch) | |
tree | 50878b6711c2be6ea191216201143bcc9d2e1af3 /src/os_win32.c | |
parent | 2cc8738f2f87ffa3e584b8e606f11fbb188c46b4 (diff) | |
download | vim-git-175d0704dfb1247be7f414bfbcf9f5cfeced2794.tar.gz |
updated for version 7.4.125v7.4.125
Problem: Win32: Dealing with messages may not work for multi-byte chars.
Solution: Use pDispatchMessage(). (Ken Takata)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 17df345f2..182c88c6e 100644 --- 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 */ |