From d7a90241452434bf8e49ce861ccd0e3a7584650c Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 9 Jan 2012 20:52:05 +0100 Subject: [PATCH] Fix seek graph for VICS The sought command on the open-source ICS code is ICC-like (no terminating line), although the server is FICS like. So also accept prompt as seek-graph trigger on FICS. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 3e91099..3df2b3a 100644 --- a/backend.c +++ b/backend.c @@ -3524,7 +3524,7 @@ read_from_ics (InputSourceRef isr, VOIDSTAR closure, char *data, int count, int if (looking_at(buf, &i, "% ") || ((started == STARTED_MOVES || started == STARTED_MOVES_NOHIDE) && looking_at(buf, &i, "}*"))) { char *bookHit = NULL; // [HGM] book - if(ics_type == ICS_ICC && soughtPending) { // [HGM] seekgraph: on ICC sought-list has no termination line + if(soughtPending) { // [HGM] seekgraph: on ICC sought-list has no termination line soughtPending = FALSE; seekGraphUp = TRUE; DrawSeekGraph(); -- 1.7.0.4