From 06a79b9469f4d187132cd148411d9b92c7e35e6f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Oct 2012 20:46:01 +0000 Subject: fix for that hell with ClcCacheEntryBase git-svn-id: http://svn.miranda-ng.org/main/trunk@2120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/groups.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules/clist/groups.cpp') 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 { -- cgit v1.2.3