From: H.G. Muller Date: Fri, 6 Aug 2010 09:18:34 +0000 (+0200) Subject: Repair exit-popup deadlock patch X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e54045072f6e157b46a33104b8094cf9857f875d;p=xboard.git Repair exit-popup deadlock patch Relocating the exit popup call had made it lose access to the message it should print, because it was declared only in an inner code block, by the same name: buf[]. Deleting the inner declaration fixes it. --- diff --git a/backend.c b/backend.c index b1da687..d4549bf 100644 --- a/backend.c +++ b/backend.c @@ -9320,7 +9320,6 @@ GameEnds(result, resultDetails, whosays) endingGame = 0; /* [HGM] crash */ return; } else { - char buf[MSG_SIZ]; gameMode = nextGameMode; sprintf(buf, _("Match %s vs. %s: final score %d-%d-%d"), first.tidy, second.tidy,