From 3d8fafcd8eb7ca223e5b0db8d2f7df38eb28af83 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Thu, 6 Mar 2014 13:57:23 +0100 Subject: [PATCH] Handle time and otim commands during ponder search Do not backlog time and otim commands when they come while searching, but handle them immediately without aborting the search. --- gnushogi/commondsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 56fe08b..1790e5f 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1726,7 +1726,7 @@ InputCommand(char *command, int root) if (sscanf(sx, "%s", s) < 1) continue; - if (!root && strcmp(s, ".")) + if (!root && strcmp(s, ".") && strcmp(s, "time") && strcmp(s, "otim")) { /* during search most commands can only be done after abort */ strcpy(backlog, sx); /* backlog the command */ return true; /* and order search abort */ -- 1.7.0.4