summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-05-06 09:02:47 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-05-06 09:02:47 +0000
commit518987f93a9723cdde25a2c23800e7476b396cee (patch)
tree24d29bf85c49ad5c64338456b37e89efba9430d6 /src
parentf2105401aea25f663392e947ca618d48272ee489 (diff)
downloadmana-client-518987f93a9723cdde25a2c23800e7476b396cee.tar.gz
mana-client-518987f93a9723cdde25a2c23800e7476b396cee.tar.bz2
mana-client-518987f93a9723cdde25a2c23800e7476b396cee.tar.xz
mana-client-518987f93a9723cdde25a2c23800e7476b396cee.zip
Fixed the Progress bar that couldn't change its color anymore.
Diffstat (limited to 'src')
-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 e84c235e..213a7f2d 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;