From: Daniel Mehrmann Date: Mon, 28 Jun 2004 21:10:23 +0000 (+0000) Subject: close ics analyze if user close analysis window + Display ics analyze action X-Git-Tag: v4.2.8~27 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=cbef46783d8c68cb6ce106fc278edf3446b720fc;p=xboard.git close ics analyze if user close analysis window + Display ics analyze action --- diff --git a/xboard.c b/xboard.c index 8f1cff1..af116f0 100644 --- a/xboard.c +++ b/xboard.c @@ -5029,6 +5029,8 @@ void AnalysisPopDown() XtPopdown(analysisShell); XSync(xDisplay, False); analysisUp = False; + /* icsEngineAnalyze */ + if (appData.icsEngineAnalyze) ExitAnalyzeMode(); } @@ -5878,7 +5880,6 @@ void AnalyzeModeProc(w, event, prms, nprms) if (appData.icsEngineAnalyze) { if (appData.debugMode) fprintf(debugFP, _("Found unexpected active ICS engine analyze \n")); - appData.icsEngineAnalyze = FALSE; ExitAnalyzeMode(); ModeHighlight(); return; @@ -5887,7 +5888,6 @@ void AnalyzeModeProc(w, event, prms, nprms) } else { /* if enable, use want disable icsEngineAnalyze */ if (appData.icsEngineAnalyze) { - appData.icsEngineAnalyze = FALSE; ExitAnalyzeMode(); ModeHighlight(); return;