From: H.G. Muller Date: Sun, 14 Feb 2010 22:17:23 +0000 (+0100) Subject: Bugfix copying from Chat Box, own lines X-Git-Tag: v4.4.3.20100220~2 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=cb580bd45de2c6831ffc725994908bf417cf1e60 Bugfix copying from Chat Box, own lines The tell messages sent to a handle (which are not echoed by the ICS, and thus have to copied to the chat box directly) had no CR in them yet. --- diff --git a/winboard/wchat.c b/winboard/wchat.c index 4cf8dce..d5d6366 100644 --- a/winboard/wchat.c +++ b/winboard/wchat.c @@ -204,7 +204,7 @@ LRESULT CALLBACK ChatProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam sprintf(buf, "whisper %s\n", mess); // WHISPER box uses "whisper" to send else { if(!atoi(chatPartner[partner])) { - sprintf(buf, "> %s\n", mess); // echo only tells to handle, not channel + sprintf(buf, "> %s\r\n", mess); // echo only tells to handle, not channel InsertIntoMemo(hDlg, buf); sprintf(buf, "xtell %s %s\n", chatPartner[partner], mess); } else