From 3bfa1af62f41c7da05fa150d0b46ad6d09c88cca Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 27 Jun 2009 16:54:04 -0700 Subject: [PATCH] small cleanup --- common.h | 4 ++-- xboard.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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) { -- 1.7.0.4