From: H.G. Muller Date: Tue, 26 Feb 2013 16:44:10 +0000 (+0100) Subject: Let popping up of WinBoard chatbox for channel open it X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=15f86d96d71e65cd016068907e75e9007033d90c;p=xboard.git 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. --- 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