diff options
Diffstat (limited to 'src/modules/skin/skinicons.cpp')
-rw-r--r-- | src/modules/skin/skinicons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp index 983500b358..2cbef87a94 100644 --- a/src/modules/skin/skinicons.cpp +++ b/src/modules/skin/skinicons.cpp @@ -372,7 +372,7 @@ static void convertOneProtocol(char* moduleName, char* iconName) if ( !DBGetContactSettingTString(NULL, "Icons", moduleName, &dbv)) {
_itoa(i, pi, 10);
- DBWriteContactSettingTString(NULL, "SkinIcons", iconName, dbv.ptszVal);
+ db_set_ts(NULL, "SkinIcons", iconName, dbv.ptszVal);
DBFreeVariant(&dbv);
DBDeleteContactSetting(NULL, "Icons", moduleName);
@@ -423,7 +423,7 @@ int LoadSkinIcons(void) mir_snprintf(iconName, SIZEOF(iconName), "%s%d", mainIconsFmt, i);
- DBWriteContactSettingTString(NULL, "SkinIcons", iconName, dbv.ptszVal);
+ db_set_ts(NULL, "SkinIcons", iconName, dbv.ptszVal);
DBFreeVariant(&dbv);
DBDeleteContactSetting(NULL, "Icons", moduleName);
|