summaryrefslogtreecommitdiff
path: root/src/modules/clist/groups.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/groups.cpp')
-rw-r--r--src/modules/clist/groups.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp
index 1351289f49..fb9ce4cc3b 100644
--- a/src/modules/clist/groups.cpp
+++ b/src/modules/clist/groups.cpp
@@ -184,8 +184,8 @@ static INT_PTR DeleteGroup(WPARAM wParam, LPARAM)
CLISTGROUPCHANGE grpChg = { sizeof(CLISTGROUPCHANGE), NULL, NULL };
for (hContact = db_find_first();
- hContact;
- hContact = db_find_next(hContact))
+ hContact;
+ hContact = db_find_next(hContact))
{
if (DBGetContactSettingTString(hContact, "CList", "Group", &dbv))
continue;
@@ -282,8 +282,7 @@ static int RenameGroupWithMove(int groupId, const TCHAR *szName, int move)
cache->tszGroup = 0;
cli.pfnCheckCacheItem(cache);
}
- }
- while ((hContact = db_find_next(hContact)) != NULL);
+ } while ((hContact = db_find_next(hContact)) != NULL);
//rename subgroups
{