diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-21 02:38:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-21 02:38:18 +0300 |
commit | daf84780d386ee122ae4b4bd37b1e918f93fb202 (patch) | |
tree | f967cbbf8de1e36aa8c48a556938ef5bf1a9cab9 /src/gui/statuswindow.cpp | |
parent | 98dabed4de60bc86522632379f2499aecbae2b70 (diff) | |
download | ManaVerse-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.gz ManaVerse-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.bz2 ManaVerse-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.xz ManaVerse-daf84780d386ee122ae4b4bd37b1e918f93fb202.zip |
Fix more warnings.
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 20a017a41..410ee08e2 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -522,7 +522,7 @@ void StatusWindow::updateProgressBar(ProgressBar *bar, int value, int max, / static_cast<float>(max); if (percent) - bar->setText(strprintf("%2.5f", 100 * progress) + "%"); + bar->setText(strprintf("%2.5f%%", static_cast<double>(100 * progress))); else bar->setText(toString(value) + "/" + toString(max)); |