summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 11:15:37 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 11:15:37 +0000
commitaabe59377baebe1d9dbb3daeb323bc7df475910d (patch)
tree0d4b8a730160e4da2aaea57cba2644a31d7ee59e /src/gui/updatewindow.cpp
parent957cee04cbbb829c0d476b1dfb2a19ee74856c5f (diff)
downloadMana-aabe59377baebe1d9dbb3daeb323bc7df475910d.tar.gz
Mana-aabe59377baebe1d9dbb3daeb323bc7df475910d.tar.bz2
Mana-aabe59377baebe1d9dbb3daeb323bc7df475910d.tar.xz
Mana-aabe59377baebe1d9dbb3daeb323bc7df475910d.zip
Removed useless flush() calls.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index 81ae885c..fe410ece 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -88,7 +88,7 @@ UpdaterWindow::UpdaterWindow():
// That commented line causes problems if the client had a false value for an update host
// in its config file.
// The update host, unlike the home dir, isn't dynamically set at the start of the client.
- //mUpdateHost = config.getValue("updatehost", "themanaworld.org/files");
+ // mUpdateHost = config.getValue("updatehost", "themanaworld.org/files");
mUpdateHost = "themanaworld.org/files";
mBasePath = config.getValue("homeDir", ".");
@@ -195,7 +195,7 @@ int UpdaterWindow::updateProgress(void *ptr,
float progress = dn / dt;
UpdaterWindow *uw = reinterpret_cast<UpdaterWindow *>(ptr);
- if (progress < 0) progress = 0.0f;
+ if (progress < 0) progress = 0.0f;
if (progress > 1) progress = 1.0f;
std::stringstream progressString;