Fix printing of engine-output headers v4.7.x
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 21:40:27 +0000 (22:40 +0100)
They were not printed on analyis of the first position after opening
the Engine Output window.

backend.c

index c14f438..2744609 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -13724,7 +13724,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();