X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cd22a6554a8c6d917306304aeaf5d2b7a9d99ae4..8e4f33741f54f48c28f04e74f1f3c0757723c111:/projects/stargazer/users_impl.cpp 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)