diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-13 22:28:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-13 22:28:28 +0000 |
commit | fd90113f1a40064a9a6dc670a60dd3b2a738a467 (patch) | |
tree | 9d6bf74c6fdaaf7405329ef7f72caf12bbba658b /src/modules/skin/skinicons.cpp | |
parent | 5849172a0425c813f3f57abbbf941022fa420950 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|