summaryrefslogtreecommitdiff
path: root/src/modules/clist/groups.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-30 20:46:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-30 20:46:01 +0000
commit06a79b9469f4d187132cd148411d9b92c7e35e6f (patch)
treebb9ee9b9daf2016ecc97d9af8b575cd32b8574da /src/modules/clist/groups.cpp
parent0edc13560169b35dc38e2923f0d240531221cd03 (diff)
fix for that hell with ClcCacheEntryBase
git-svn-id: http://svn.miranda-ng.org/main/trunk@2120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/groups.cpp')
-rw-r--r--src/modules/clist/groups.cpp14
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
{