summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-01-09 11:20:06 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-01-09 11:20:38 +0100
commitc5e565e5d4b09e42e0327afd99b8f37d67b9577c (patch)
tree7e18c896ac014023dba2d87b887ed1bb4666c18d
parent48c1d819bdf112754f3d7ad33f499837018f0759 (diff)
downloadmana-c5e565e5d4b09e42e0327afd99b8f37d67b9577c.tar.gz
mana-c5e565e5d4b09e42e0327afd99b8f37d67b9577c.tar.bz2
mana-c5e565e5d4b09e42e0327afd99b8f37d67b9577c.tar.xz
mana-c5e565e5d4b09e42e0327afd99b8f37d67b9577c.zip
Style fix for last commit
-rw-r--r--src/gui/updatewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index c07e0643..a6857d21 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -229,7 +229,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;