From: H.G. Muller <h.g.muller@hccnet.nl>
Date: Sat, 18 Jan 2014 21:40:27 +0000 (+0100)
Subject: Fix printing of engine-output headers
X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d6ad098f095eb0644827bf4dd6659870a1e09d07;p=xboard.git

Fix printing of engine-output headers

They were not printed on analyis of the first position after opening
the Engine Output window.
---

diff --git a/backend.c b/backend.c
index c14f438..2744609 100644
--- 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();