diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-27 15:50:12 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-27 15:50:12 -0700 |
commit | f637a4e66fbb015020cdc874d33c759f5ab40884 (patch) | |
tree | 4f49f14c3c4832a187eeabefb612b9b4665b9eec /src/gui/statuswindow.cpp | |
parent | 62d86f1c84678e04e7015a8f2440f0c251887c21 (diff) | |
download | mana-f637a4e66fbb015020cdc874d33c759f5ab40884.tar.gz mana-f637a4e66fbb015020cdc874d33c759f5ab40884.tar.bz2 mana-f637a4e66fbb015020cdc874d33c759f5ab40884.tar.xz mana-f637a4e66fbb015020cdc874d33c759f5ab40884.zip |
Fix display of status bars again
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index c479fed7..94c95f68 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -408,7 +408,7 @@ void StatusWindow::updateProgressBar(ProgressBar *bar, int value, int max, } else { - float progress = (float) value / max; + float progress = ((float) value) / max; if (percent) bar->setText(strprintf("%2.2f", 100 * progress) + "%"); |