summaryrefslogtreecommitdiff
path: root/src/modules/skin/skinicons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-19 12:51:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-19 12:51:53 +0000
commit32dedc767dec565c576b78b786e7a95d76ac806e (patch)
tree0f2eb209b3716569a8e3c3ef146a91f402ebbb4d /src/modules/skin/skinicons.cpp
parentadf7367cfdb57b32aadeb74af45dce9a6a3c02a5 (diff)
- added another helper, ExtraIcon_Clear, to remove an icon from slot;
- added ability to pass IcoLib handles instead of icons' names git-svn-id: http://svn.miranda-ng.org/main/trunk@2371 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin/skinicons.cpp')
-rw-r--r--src/modules/skin/skinicons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp
index 37b01b0e40..b4e69eb602 100644
--- a/src/modules/skin/skinicons.cpp
+++ b/src/modules/skin/skinicons.cpp
@@ -369,7 +369,7 @@ static void convertOneProtocol(char *moduleName, char *iconName)
_itoa(i, pi, 10);
db_set_ts(NULL, "SkinIcons", iconName, dbv.ptszVal);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
DBDeleteContactSetting(NULL, "Icons", moduleName);
} } }
@@ -414,7 +414,7 @@ int LoadSkinIcons(void)
mir_snprintf(iconName, SIZEOF(iconName), "%s%d", mainIconsFmt, i);
db_set_ts(NULL, "SkinIcons", iconName, dbv.ptszVal);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
DBDeleteContactSetting(NULL, "Icons", moduleName);
}
@@ -435,7 +435,7 @@ int LoadSkinIcons(void)
mir_snprintf(iconName, SIZEOF(iconName), "%s" TCHAR_STR_PARAM, statusIconsFmt, dbv.ptszVal);
convertOneProtocol(moduleName, iconName);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
moduleName[0] = 0;
strcpy(iconName, "core_status_" GLOBAL_PROTO_NAME);