From 078ab6852ff1674f99d03fd697018a96bdb12d81 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 15 Dec 2015 11:07:24 +0200 Subject: [PATCH] Ticket 12. Formatting fixed. --- projects/stargazer/users_impl.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/projects/stargazer/users_impl.cpp b/projects/stargazer/users_impl.cpp index 70a079bf..60a36335 100644 --- a/projects/stargazer/users_impl.cpp +++ b/projects/stargazer/users_impl.cpp @@ -362,14 +362,15 @@ for (unsigned int i = 0; i < usersList.size(); i++) if (ui->ReadStat() < 0) return -1; - } else - { - if (ui->ReadConf() < 0) - errors++; - - if (ui->ReadStat() < 0) - errors++; - } + } + else + { + if (ui->ReadConf() < 0) + errors++; + + if (ui->ReadStat() < 0) + errors++; + } } if (errors > 0) -- 2.43.2