summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-07 21:57:24 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-07 21:57:24 +0000
commite75dfa4273a33a772162e57731f517d83133b82a (patch)
tree55147c13561cc004426233182d5ac7ce2769d336 /src/gui/progressbar.cpp
parent4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39 (diff)
downloadmana-e75dfa4273a33a772162e57731f517d83133b82a.tar.gz
mana-e75dfa4273a33a772162e57731f517d83133b82a.tar.bz2
mana-e75dfa4273a33a772162e57731f517d83133b82a.tar.xz
mana-e75dfa4273a33a772162e57731f517d83133b82a.zip
Committed radical modifications to desert map by Bertram.
Diffstat (limited to 'src/gui/progressbar.cpp')
-rw-r--r--src/gui/progressbar.cpp2
1 files changed, 1 insertions, 1 deletions
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;