X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwchat.c;h=30b6aa5ba6c69b84305518b2c6dd66e2796744d9;hb=e7419db9b1c542d1ca0b825cdfc0032a4ba39188;hp=a387466513fb7b48e78f026f9d507e1df5e8153a;hpb=45ceecc52a3f3c8f44bb5272f658be4d95f0cc07;p=xboard.git diff --git a/winboard/wchat.c b/winboard/wchat.c index a387466..30b6aa5 100644 --- a/winboard/wchat.c +++ b/winboard/wchat.c @@ -180,7 +180,7 @@ LRESULT CALLBACK ChatProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam { static SnapData sd; char buf[MSG_SIZ], mess[MSG_SIZ]; - int partner = -1, i; + int partner = -1, i, x, y; static BOOL filterHasFocus[MAX_CHAT]; WORD wMask; HWND hMemo; @@ -195,7 +195,7 @@ LRESULT CALLBACK ChatProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam sprintf(buf, "Chat Window %s", first.tidy); SetWindowText(hDlg, buf); } - for(i=0; ipartner), chatPartner[i]); } else EnableWindow( GetDlgItem(hDlg, IDC_Focus1+i-(i>partner)), 0 ); for(i=0; i