From 2f50821e4f038bbe440b4c23403147fb9c5e35f6 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 26 Oct 2009 20:42:24 -0700 Subject: [PATCH] removing empty lines from ICS play this patch causes removal of spurious prompts during ICS play also if the prompt is preceeded by a number of empty lines (as the board for the opponent move is on FICS). --- backend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index f1d3eb4..9712e8f 100755 --- a/backend.c +++ b/backend.c @@ -3260,6 +3260,7 @@ read_from_ics(isr, closure, data, count, error) /* Usually suppress following prompt */ if (!(forwardMostMove == 0 && gameMode == IcsExamining)) { + while(looking_at(buf, &i, "\n")); // [HGM] skip empty lines if (looking_at(buf, &i, "*% ")) { savingComment = FALSE; } -- 1.7.0.4