From: Elena Mamontova <helenh463@gmail.com>
Date: Tue, 15 Dec 2015 09:07:24 +0000 (+0200)
Subject: Ticket 12. Formatting fixed.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/078ab6852ff1674f99d03fd697018a96bdb12d81?ds=inline;hp=-c

Ticket 12. Formatting fixed.
---

078ab6852ff1674f99d03fd697018a96bdb12d81
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)