From: H.G. Muller Date: Wed, 23 Feb 2011 15:29:12 +0000 (+0100) Subject: Fix nps bug X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=95f71ac376826e2a8a3ee36f37c2daa087da4bbe;hp=b62693239eb893af0c242295d37f28ba84cd7c10;p=xboard.git Fix nps bug The nps settingwas tested for being > 0 in stead of >=0, so that the case of CPU time was not properly handled. --- diff --git a/backend.c b/backend.c index 460a4af..855f6d8 100644 --- a/backend.c +++ b/backend.c @@ -13728,7 +13728,7 @@ SendTimeControl(cps, mps, tc, inc, sd, st) SendToProgram(buf, cps); } - if(cps->nps > 0) { /* [HGM] nps */ + if(cps->nps >= 0) { /* [HGM] nps */ if(cps->supportsNPS == FALSE) cps->nps = -1; // don't use if engine explicitly says not supported! else {