From: Arun Persaud Date: Sat, 27 Jun 2009 23:54:04 +0000 (-0700) Subject: small cleanup X-Git-Tag: v4.4.0.alpha8~3 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3bfa1af62f41c7da05fa150d0b46ad6d09c88cca;p=xboard.git small cleanup --- diff --git a/common.h b/common.h index ef9a480..ef49a03 100644 --- a/common.h +++ b/common.h @@ -569,9 +569,9 @@ typedef struct { int zippyReplayTimeout; /*seconds*/ int zippyShortGame; /* [HGM] aborter */ #endif - + Boolean lowTimeWarning; /* [HGM] low time */ char *lowTimeWarningColor; - Boolean lowTimeWarning; + char *serverMovesName; Boolean suppressLoadMoves; int serverPause; diff --git a/xboard.c b/xboard.c index 7ddd4a8..99541ab 100644 --- a/xboard.c +++ b/xboard.c @@ -8225,12 +8225,12 @@ DisplayTimerLabel(w, color, timer, highlight) char buf[MSG_SIZ]; Arg args[16]; + /* check for low time warning */ Pixel foregroundOrWarningColor = timerForegroundPixel; - if (timer > 0 - && appData.lowTimeWarning - && (timer / 1000) < appData.icsAlarmTime) - + if (timer > 0 && + appData.lowTimeWarning && + (timer / 1000) < appData.icsAlarmTime) foregroundOrWarningColor = lowTimeWarningColor; if (appData.clockMode) {