X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwchat.c;h=3be1e7f7d33d2bb1dd196b8191470c2a97d8c083;hb=6341a1e8f282d099affed789a69bad4660fe9cdc;hp=92c506fb72daf1023bf567ba3f923d3f1628d6c0;hpb=e70077aab0199817f37aef9ed0bdba1bbca93b45;p=xboard.git diff --git a/winboard/wchat.c b/winboard/wchat.c index 92c506f..3be1e7f 100644 --- a/winboard/wchat.c +++ b/winboard/wchat.c @@ -3,7 +3,8 @@ * * Author: H.G.Muller (August 2009) * - * Copyright 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * ------------------------------------------------------------------------ * @@ -361,14 +362,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