summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/Controllers/RosterGroupExpandinessPersister.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/RosterGroupExpandinessPersister.cpp b/Swift/Controllers/RosterGroupExpandinessPersister.cpp
index a6a998a..a2953a5 100644
--- a/Swift/Controllers/RosterGroupExpandinessPersister.cpp
+++ b/Swift/Controllers/RosterGroupExpandinessPersister.cpp
@@ -39,7 +39,7 @@ void RosterGroupExpandinessPersister::handleExpandedChanged(GroupRosterItem* gro
void RosterGroupExpandinessPersister::save() {
String setting;
foreach (const String& group, collapsed_) {
- if (setting.isEmpty()) {
+ if (!setting.isEmpty()) {
setting += "\n";
}
setting += group;