From 15f86d96d71e65cd016068907e75e9007033d90c Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 26 Feb 2013 17:44:10 +0100 Subject: [PATCH] Let popping up of WinBoard chatbox for channel open it WinBoard now issues a +ch command for a channel when you pop up a chatbox for that channel. A work-around is added for the fact that the public FICS seems to ignore the first such command. --- winboard/wchat.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/winboard/wchat.c b/winboard/wchat.c index 99c5f31..e06d996 100644 --- a/winboard/wchat.c +++ b/winboard/wchat.c @@ -361,14 +361,21 @@ void ChatPopUp(char *icsHandle) { FARPROC lpProc; int i, partner = -1; + char buf[MSG_SIZ]; + static int first = 1; CheckMenuItem(GetMenu(hwndMain), IDM_NewChat, MF_CHECKED); for(i=0; i