X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=92df2bb86824d5480708b69eef1a1e413814b405;hb=240d6d730bdd00e94d70a589e352e8eb4eb9a174;hp=3c21f9dec73f86411a2ff30766a6435944094767;hpb=22dd9bcd6ae74b6206a606e617286f4277eb801c;p=xboard.git diff --git a/backend.c b/backend.c index 3c21f9d..92df2bb 100644 --- a/backend.c +++ b/backend.c @@ -9366,7 +9366,12 @@ GameEnds(result, resultDetails, whosays) gameMode = nextGameMode; ModeHighlight(); endingGame = 0; /* [HGM] crash */ - if(popupRequested) DisplayFatalError(buf, 0, 0); // [HGM] crash: this call GameEnds recursively through ExitEvent! Make it a harmless tail recursion. + if(popupRequested) { // [HGM] crash: this calls GameEnds recursively through ExitEvent! Make it a harmless tail recursion. + if(matchMode == TRUE) DisplayFatalError(buf, 0, 0); else { + matchMode = FALSE; appData.matchGames = matchGame = 0; + DisplayNote(buf); + } + } } /* Assumes program was just initialized (initString sent).