diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-05-06 09:02:47 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-05-06 09:02:47 +0000 |
commit | 518987f93a9723cdde25a2c23800e7476b396cee (patch) | |
tree | 24d29bf85c49ad5c64338456b37e89efba9430d6 /src/gui | |
parent | f2105401aea25f663392e947ca618d48272ee489 (diff) | |
download | mana-518987f93a9723cdde25a2c23800e7476b396cee.tar.gz mana-518987f93a9723cdde25a2c23800e7476b396cee.tar.bz2 mana-518987f93a9723cdde25a2c23800e7476b396cee.tar.xz mana-518987f93a9723cdde25a2c23800e7476b396cee.zip |
Fixed the Progress bar that couldn't change its color anymore.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/progressbar.cpp | 2 |
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; |