]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.125 v7.4.125
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 17:36:33 +0000 (18:36 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 17:36:33 +0000 (18:36 +0100)
Problem:    Win32: Dealing with messages may not work for multi-byte chars.
Solution:   Use pDispatchMessage(). (Ken Takata)

src/os_win32.c
src/version.c

index 17df345f23a9cdf53e984a3dda6a345c9f8de42a..182c88c6ed062a6157215f10dff4bdf6ecb355cf 100644 (file)
@@ -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 */
index f4696d78e64f08d42457ae8b4ff7c74fb739e41b..d4cc3d73dcc0df2a520ef7ca3ad7e5f2f3257221 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    125,
 /**/
     124,
 /**/