Revert "fixed segfault in xengineoutput", fixed in the backend now (from HGM)
[xboard.git] / engineoutput.c
index 78117a7..0a4e46a 100644 (file)
@@ -84,6 +84,8 @@ void MakeEngineOutputTitle()
        static char oldTitle[MSG_SIZ];
        char *title = "Engine Output";
        int count, rule = 2*appData.ruleMoves;
+
+       if(!EngineOutputIsUp()) return;
        // figure out value of 50-move counter
        count = currentMove;
        while( (signed char)boards[count][EP_STATUS] <= EP_NONE && count > backwardMostMove ) count--;