From 6abb8a34eb7ea968aff8b2175be46b9d75a47c39 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 4 Feb 2010 23:33:50 +0100 Subject: [PATCH] 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 --- backend.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend.c b/backend.c index da8ef9b..a24a0f8 100644 --- a/backend.c +++ b/backend.c @@ -2464,14 +2464,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; } -- 1.7.0.4