From 3845dc6e578a5e2ca1df4ed90a5db36f7529ac30 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 8 Jun 2011 16:49:18 +0200 Subject: [PATCH] Print sensible window title during tourneys Rather than the "(W-L-D)" in the title we now print game number and total games, plus indication of the tourney type (rr, gt or sw). --- backend.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index c73d6e7..93f79d3 100644 --- a/backend.c +++ b/backend.c @@ -12691,6 +12691,12 @@ DisplayTwoMachinesTitle() { char buf[MSG_SIZ]; if (appData.matchGames > 0) { + if(appData.tourneyFile[0]) { + snprintf(buf, MSG_SIZ, "%s vs. %s (%d/%d%s)", + gameInfo.white, gameInfo.black, + nextGame+1, appData.matchGames+1, + appData.tourneyType>0 ? "gt" : appData.tourneyType<0 ? "sw" : "rr"); + } else if (first.twoMachinesColor[0] == 'w') { snprintf(buf, MSG_SIZ, "%s vs. %s (%d-%d-%d)", gameInfo.white, gameInfo.black, -- 1.7.0.4