Fix printing of engine-output headers
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 21:40:27 +0000 (22:40 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 23:02:05 +0000 (00:02 +0100)
They were not printed on analyis of the first position after opening
the Engine Output window.

backend.c

index ec6b5fc..dfaef74 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -14211,7 +14211,10 @@ AnalyzeModeEvent ()
        first.maybeThinking = FALSE; /* avoid killing GNU Chess */
        EngineOutputPopUp();
     }
-    if (!appData.icsEngineAnalyze) gameMode = AnalyzeMode;
+    if (!appData.icsEngineAnalyze) {
+       gameMode = AnalyzeMode;
+       ClearEngineOutputPane(0); // [TK] exclude: to print exclusion/multipv header
+    }
     pausing = FALSE;
     ModeHighlight();
     SetGameInfo();