From e75dfa4273a33a772162e57731f517d83133b82a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 7 May 2005 21:57:24 +0000 Subject: Committed radical modifications to desert map by Bertram. --- src/gui/progressbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/progressbar.cpp b/src/gui/progressbar.cpp index 213a7f2d..6c405d0b 100644 --- a/src/gui/progressbar.cpp +++ b/src/gui/progressbar.cpp @@ -110,7 +110,7 @@ float ProgressBar::getProgress() void ProgressBar::setColor( unsigned char newRed, unsigned char newGreen, unsigned char newBlue) { - if (!(red == newRed) || !(green == newGreen) || !(blue == newBlue)) + if (red != newRed || green != newGreen || blue != newBlue) { red = newRed; green = newGreen; -- cgit v1.2.3-70-g09d2