From cb580bd45de2c6831ffc725994908bf417cf1e60 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 14 Feb 2010 23:17:23 +0100 Subject: [PATCH] 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. --- winboard/wchat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.0.4