summaryrefslogtreecommitdiff
path: root/src/modules/clist/clistsettings.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-25 21:15:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-25 21:15:00 +0000
commit340562e4bd9236fadf2e37ae6f7737f1ea340a90 (patch)
tree2a52777a0bc121512dada9a3354779bed74e75db /src/modules/clist/clistsettings.cpp
parent3a944a0e98389dc453b25908ac41c488eb829eeb (diff)
fix for the broken Options -> Contact list -> Contact names dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@6630 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clistsettings.cpp')
-rw-r--r--src/modules/clist/clistsettings.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/clist/clistsettings.cpp b/src/modules/clist/clistsettings.cpp
index 606d8e6864..fc5b202247 100644
--- a/src/modules/clist/clistsettings.cpp
+++ b/src/modules/clist/clistsettings.cpp
@@ -40,8 +40,7 @@ void InitDisplayNameCache(void)
void FreeDisplayNameCache(void)
{
if (clistCache != NULL) {
- int i;
- for (i=0; i < clistCache->realCount; i++) {
+ for (int i=0; i < clistCache->realCount; i++) {
cli.pfnFreeCacheItem((ClcCacheEntry*)clistCache->items[i]);
mir_free(clistCache->items[i]);
}