diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-05 19:27:44 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-05 19:27:44 +0000 |
commit | c17b9c5e3d6314b8740a5c46209719ef5d40f24a (patch) | |
tree | f3ecf7ac7b769e28d0fff08d83c08173dedd2852 /src/gui/updatewindow.cpp | |
parent | 144b5224b6b96cee799dd0e0f276620ddcca7698 (diff) | |
download | mana-c17b9c5e3d6314b8740a5c46209719ef5d40f24a.tar.gz mana-c17b9c5e3d6314b8740a5c46209719ef5d40f24a.tar.bz2 mana-c17b9c5e3d6314b8740a5c46209719ef5d40f24a.tar.xz mana-c17b9c5e3d6314b8740a5c46209719ef5d40f24a.zip |
Fixed percentage indicator of update window.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 89d1793e..d8244d37 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -198,7 +198,7 @@ int UpdaterWindow::updateProgress(void *ptr, if (progress > 1) progress = 1.0f; uw->setLabel( - uw->mCurrentFile + " (" + toString((int)progress * 100) + "%)"); + uw->mCurrentFile + " (" + toString((int) (progress * 100)) + "%)"); uw->setProgress(progress); if (state != UPDATE_STATE || uw->mDownloadStatus == UPDATE_ERROR) |