Yasuhiro Matsumoto wrote:
> <snip>
>
> This is trival fixes.
>
> https://gist.github.com/mattn/baec9ece5749d2d90368
Thanks! However, I don't think we need this change:
@@ -381,7 +381,8 @@ channel_gui_register_one(channel_T *channel, int which)
# ifdef FEAT_GUI_W32
/* Tell Windows we are interested in receiving message when there
* is input on the editor connection socket. */
- if (channel->ch_pfd[which].ch_inputHandler == -1)
+ if (channel->ch_pfd[which].ch_inputHandler == -1
+ && channel->ch_pfd[which].ch_fd != -1)
channel->ch_pfd[which].ch_inputHandler = WSAAsyncSelect(
channel->ch_pfd[which].ch_fd,
s_hwnd, WM_NETBEANS, FD_READ);
channel_gui_register_one() is only called when the ch_fd is not invalid.
If this change is needed, there must be something wrong.
--
We're knights of the round table
We dance whene'er we're able
We do routines and chorus scenes
With footwork impeccable.
We dine well here in Camelot
We eat ham and jam and spam a lot.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.