summaryrefslogtreecommitdiff
path: root/src/gui/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-01 16:00:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-01 16:00:26 +0300
commitc635347f18378aea08ba48e991ddb8ff1010c27c (patch)
tree835b7c57d3891f7944447d9a488ad7d490480e18 /src/gui/updaterwindow.cpp
parent5a35288a7524c6b5cb9a4e8e3aa93d756b016743 (diff)
downloadplus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.gz
plus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.bz2
plus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.xz
plus-c635347f18378aea08ba48e991ddb8ff1010c27c.zip
Fix code style.
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r--src/gui/updaterwindow.cpp5
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();