diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-29 17:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-29 17:59:57 +0300 |
commit | f315432679f760b71505e74dcb2185b7aef7a906 (patch) | |
tree | 07d45620464a2542cb28fbe773f652501e6ee6fb /src/gui/statuswindow.cpp | |
parent | cccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff) | |
download | plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2 plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz plus-f315432679f760b71505e74dcb2185b7aef7a906.zip |
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 0f00cb95c..767b4f537 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -238,7 +238,7 @@ StatusWindow::StatusWindow() : mJobLvlLabel = new Label(this, strprintf(_("Job: %d"), 0)); // TRANSLATORS: status window label mJobLabel = new Label(this, _("Job:")); - mJobBar = new ProgressBar(this, 0.0f, 80, 0, Theme::PROG_JOB); + mJobBar = new ProgressBar(this, 0.0F, 80, 0, Theme::PROG_JOB); place(3, 0, mJobLvlLabel, 3); place(5, 2, mJobLabel).setPadding(3); @@ -512,7 +512,7 @@ void StatusWindow::updateMPBar(ProgressBar *const bar, const bool showMax) else bar->setText(toString(mp)); - float prog = 1.0f; + float prog = 1.0F; if (maxMp > 0) prog = static_cast<float>(mp) / static_cast<float>(maxMp); |