diff options
Diffstat (limited to 'src/modules/clist/groups.cpp')
-rw-r--r-- | src/modules/clist/groups.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp index 905574c51b..cc3d79f280 100644 --- a/src/modules/clist/groups.cpp +++ b/src/modules/clist/groups.cpp @@ -275,15 +275,15 @@ static int RenameGroupWithMove(int groupId, const TCHAR *szName, int move) //must rename setting in all child contacts too
hContact = db_find_first();
do {
- ClcCacheEntryBase* cache = cli.pfnGetCacheEntry(hContact);
+ ClcCacheEntry* cache = cli.pfnGetCacheEntry(hContact);
if ( !lstrcmp(cache->tszGroup, oldName)) {
- db_set_ts(hContact, "CList", "Group", szName);
- mir_free(cache->tszGroup);
- cache->tszGroup = 0;
- cli.pfnCheckCacheItem(cache);
- }
+ db_set_ts(hContact, "CList", "Group", szName);
+ mir_free(cache->tszGroup);
+ cache->tszGroup = 0;
+ cli.pfnCheckCacheItem(cache);
+ }
}
- while ((hContact = db_find_next(hContact)) != NULL);
+ while ((hContact = db_find_next(hContact)) != NULL);
//rename subgroups
{
|