summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-20 18:18:59 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-20 18:18:59 +0100
commit42d38a2db17e70312d073095257555c27a5f9443 (patch)
treefcb13b0302206de82ac486810cdd0c033f4cece7 /src/gui_w32.c
parent914331648dc3609ca9f6954f4019497e5fb3274e (diff)
patch 7.4.1369v7.4.1369
Problem: Channels don't have a queue for stderr. Solution: Have a queue for each part of the channel.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 5129c5fbcb..f3da79425e 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1930,15 +1930,15 @@ process_message(void)
#ifdef FEAT_CHANNEL
if (msg.message == WM_NETBEANS)
{
- int what;
- channel_T *channel = channel_fd2channel((sock_T)msg.wParam, &what);
+ int part;
+ channel_T *channel = channel_fd2channel((sock_T)msg.wParam, &part);
if (channel != NULL)
{
/* Disable error messages, they can mess up the display and throw
* an exception. */
++emsg_off;
- channel_read(channel, what, "process_message");
+ channel_read(channel, part, "process_message");
--emsg_off;
}
return;