From: H.G. Muller Date: Thu, 4 Feb 2010 22:33:50 +0000 (+0100) Subject: Send continuation lines to chat box they belong to X-Git-Tag: master-20100206~10 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6f523f9fd07da42251d643f0d41d7f8c03126b95;p=xboard.git Send continuation lines to chat box they belong to The variable savingComment is used as a kludge to remember where the comment should go (i.e. which chatbox, or elsewhere), so that when a continuation line is matched, chatPartner (which was reset at EOL) can be restored to its original value. Also put space after handle of talker in channel Chat Windows --- diff --git a/backend.c b/backend.c index cc58afe..fe325db 100644 --- a/backend.c +++ b/backend.c @@ -2493,14 +2493,14 @@ read_from_ics(isr, closure, data, count, error) if(channel >= 0) // channel broadcast; look if there is a chatbox for this channel for(p=0; p= 3) // [HGM] chat: continuation of line for chat box + chattingPartner = savingComment - 3; // kludge to remember the box } else { started = STARTED_CHATTER; }