diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-01 16:00:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-01 16:00:26 +0300 |
commit | c635347f18378aea08ba48e991ddb8ff1010c27c (patch) | |
tree | 835b7c57d3891f7944447d9a488ad7d490480e18 /src/gui/updaterwindow.cpp | |
parent | 5a35288a7524c6b5cb9a4e8e3aa93d756b016743 (diff) | |
download | manaplus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.gz manaplus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.bz2 manaplus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.xz manaplus-c635347f18378aea08ba48e991ddb8ff1010c27c.zip |
Fix code style.
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp index e99d9144e..fb102f724 100644 --- a/src/gui/updaterwindow.cpp +++ b/src/gui/updaterwindow.cpp @@ -748,8 +748,9 @@ void UpdaterWindow::logic() std::ifstream temp((std::string(mUpdatesDir).append( "/").append(mCurrentFile)).c_str()); - if (!temp.is_open() || !validateFile(std::string(mUpdatesDir).append( - "/").append(mCurrentFile), mCurrentChecksum)) + if (!temp.is_open() || !validateFile(std::string( + mUpdatesDir).append("/").append(mCurrentFile), + mCurrentChecksum)) { temp.close(); download(); |