summaryrefslogtreecommitdiff
path: root/src/gui/storagewindow.cpp
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-05 09:11:14 -0600
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-11 20:51:12 +0200
commit536fba3a842f2d4a419401723e987dead51567dd (patch)
tree2f05b239f45f46f679322607570f85f1a79dafcc /src/gui/storagewindow.cpp
parente6ab90659ce1430c8d321a68d59de129197a8312 (diff)
downloadmana-536fba3a842f2d4a419401723e987dead51567dd.tar.gz
mana-536fba3a842f2d4a419401723e987dead51567dd.tar.bz2
mana-536fba3a842f2d4a419401723e987dead51567dd.tar.xz
mana-536fba3a842f2d4a419401723e987dead51567dd.zip
Start out all progress bars at 0, so that they progress upwards.
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/storagewindow.cpp')
-rw-r--r--src/gui/storagewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/storagewindow.cpp b/src/gui/storagewindow.cpp
index 6502399a..593a49a3 100644
--- a/src/gui/storagewindow.cpp
+++ b/src/gui/storagewindow.cpp
@@ -77,7 +77,7 @@ StorageWindow::StorageWindow(int invSize):
mSlotsLabel = new Label(_("Slots: "));
- mSlotsBar = new ProgressBar(1.0f, 100, 20, gcn::Color(225, 200, 25));
+ mSlotsBar = new ProgressBar(0.0f, 100, 20, gcn::Color(225, 200, 25));
mSlotsBar->setText(strprintf("%d/%d", mUsedSlots, mMaxSlots));
mSlotsBar->setProgress((float) mUsedSlots / mMaxSlots);