From: H.G. Muller Date: Sat, 26 Nov 2011 21:28:23 +0000 (+0100) Subject: Show 50-move counter also when observing ICS games X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=785add20d12515513525979f9df884f8ae15ba0d Show 50-move counter also when observing ICS games To not cheat 50-move display was suppressed in ICS mode, but for observing a game this made no sense. --- diff --git a/engineoutput.c b/engineoutput.c index 0a4e46a..0a45777 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -93,7 +93,7 @@ void MakeEngineOutputTitle() count = currentMove - count; snprintf(buf, MSG_SIZ, "%s (%d reversible plies)", title, count); if(!rule) rule = 100; - if(count >= rule - 40 && !appData.icsActive) title = buf; + if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) title = buf; if(!strcmp(oldTitle, title)) return; safeStrCpy(oldTitle, title, MSG_SIZ); SetEngineOutputTitle(title);