From: Bram Moolenaar Date: Wed, 11 Dec 2013 17:36:33 +0000 (+0100) Subject: updated for version 7.4.125 X-Git-Tag: v7.4.125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=175d0704dfb1247be7f414bfbcf9f5cfeced2794;p=vim updated for version 7.4.125 Problem: Win32: Dealing with messages may not work for multi-byte chars. Solution: Use pDispatchMessage(). (Ken Takata) --- 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 */ diff --git a/src/version.c b/src/version.c index f4696d78e..d4cc3d73d 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 125, /**/ 124, /**/