comparison 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
comparison
equal deleted inserted replaced
5552:76a8160b477b 5553:45ef9d2096e8
4280 /* Keep updating the window while waiting for the shell to finish. */ 4280 /* Keep updating the window while waiting for the shell to finish. */
4281 for (;;) 4281 for (;;)
4282 { 4282 {
4283 MSG msg; 4283 MSG msg;
4284 4284
4285 if (PeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE)) 4285 if (pPeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
4286 { 4286 {
4287 TranslateMessage(&msg); 4287 TranslateMessage(&msg);
4288 DispatchMessage(&msg); 4288 pDispatchMessage(&msg);
4289 } 4289 }
4290 4290
4291 /* write pipe information in the window */ 4291 /* write pipe information in the window */
4292 if ((options & (SHELL_READ|SHELL_WRITE)) 4292 if ((options & (SHELL_READ|SHELL_WRITE))
4293 # ifdef FEAT_GUI 4293 # ifdef FEAT_GUI