diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-09 11:20:06 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-09 08:31:17 -0700 |
commit | 4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd (patch) | |
tree | 5d942b0faf248ed0464ae71cc5887755ef6bce4e /src/gui/updatewindow.cpp | |
parent | 621df3bc632054573f910449678525c01d6de81d (diff) | |
download | mana-4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd.tar.gz mana-4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd.tar.bz2 mana-4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd.tar.xz mana-4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd.zip |
Style fix for last commit
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 2c15037c..fab048fc 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -225,7 +225,7 @@ int UpdaterWindow::updateProgress(void *ptr, float progress = dn / dt; UpdaterWindow *uw = reinterpret_cast<UpdaterWindow *>(ptr); - if(progress != progress) progress = 0.0f; // check for NaN + if (progress != progress) progress = 0.0f; // check for NaN if (progress < 0.0f) progress = 0.0f; // no idea how this could ever happen, but why not check for it anyway. if (progress > 1.0f) progress = 1.0f; |