From: H.G. Muller Date: Thu, 6 Aug 2009 05:18:29 +0000 (-0700) Subject: patch backend.c to make the -noGUI option also work in ICS mode. X-Git-Tag: v4.4.0.beta2~30 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6db08230fafeb8a5fd163689e0225608bac64169;p=xboard.git patch backend.c to make the -noGUI option also work in ICS mode. --- diff --git a/backend.c b/backend.c index d782fb0..40fb9ce 100644 --- a/backend.c +++ b/backend.c @@ -3824,7 +3824,7 @@ ParseBoard12(string) #endif } - if (moveNum > 0 && !gotPremove) { + if (moveNum > 0 && !gotPremove && !appData.noGUI) { /* If move comes from a remote source, animate it. If it isn't remote, it will have already been animated. */ if (!pausing && !ics_user_moved && prevMove == moveNum - 1) { @@ -3854,7 +3854,7 @@ ParseBoard12(string) /* Display opponents and material strengths */ if (gameInfo.variant != VariantBughouse && - gameInfo.variant != VariantCrazyhouse) { + gameInfo.variant != VariantCrazyhouse && !appData.noGUI) { if (tinyLayout || smallLayout) { if(gameInfo.variant == VariantNormal) sprintf(str, "%s(%d) %s(%d) {%d %d}", @@ -3882,7 +3882,7 @@ ParseBoard12(string) /* Display the board */ - if (!pausing) { + if (!pausing && !appData.noGUI) { if (appData.premove) if (!gotPremove ||