summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-03-25 23:28:05 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-03-25 23:28:05 +0000
commitadb2d7987c0395ae9814dc6f8adccc3f0ef7afe4 (patch)
tree984ead5ae02b7c89db2fa55f9d6702eb44834cd3 /src/gui/progressbar.cpp
parentdf4edbc8cbe7cf53f3918921a5791afc2cecc264 (diff)
downloadmana-client-adb2d7987c0395ae9814dc6f8adccc3f0ef7afe4.tar.gz
mana-client-adb2d7987c0395ae9814dc6f8adccc3f0ef7afe4.tar.bz2
mana-client-adb2d7987c0395ae9814dc6f8adccc3f0ef7afe4.tar.xz
mana-client-adb2d7987c0395ae9814dc6f8adccc3f0ef7afe4.zip
Initialized some uninitialized variables (patch by peavey).
Diffstat (limited to 'src/gui/progressbar.cpp')
-rw-r--r--src/gui/progressbar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/progressbar.cpp b/src/gui/progressbar.cpp
index 6d18b2f7..6851484f 100644
--- a/src/gui/progressbar.cpp
+++ b/src/gui/progressbar.cpp
@@ -35,10 +35,9 @@ ProgressBar::ProgressBar(float progress,
unsigned int width, unsigned int height,
Uint8 red, Uint8 green, Uint8 blue):
gcn::Widget(),
- mRed(red), mGreen(green), mBlue(blue),
+ mProgress(progress), mRed(red), mGreen(green), mBlue(blue),
mRedToGo(red), mGreenToGo(green), mBlueToGo(blue)
{
- setProgress(progress);
setWidth(width);
setHeight(height);