summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/changeinfo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:22:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:22:55 +0000
commit1949517360bffdb5fa747f3ed5f4ec4e78c14905 (patch)
tree3a3408a063d21e3484bb92390600378cd4e0fe2f /protocols/IcqOscarJ/src/changeinfo
parentb7639142c91c6fa38285fdc6de661a0b36d41fbe (diff)
protocol DB helpers for ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@5317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/changeinfo')
-rw-r--r--protocols/IcqOscarJ/src/changeinfo/db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/changeinfo/db.cpp b/protocols/IcqOscarJ/src/changeinfo/db.cpp
index b5d4e81348..552ca3fce7 100644
--- a/protocols/IcqOscarJ/src/changeinfo/db.cpp
+++ b/protocols/IcqOscarJ/src/changeinfo/db.cpp
@@ -168,7 +168,7 @@ int ChangeInfoData::SaveSettingsToDb(HWND hwndDlg)
if (!settingData[i].changed) continue;
if (!(setting[i].displayType & LIF_ZEROISVALID) && settingData[i].value==0)
{
- db_unset(NULL, ppro->m_szModuleName, setting[i].szDbSetting);
+ ppro->delSetting(setting[i].szDbSetting);
continue;
}
switch(setting[i].dbType) {
@@ -195,7 +195,7 @@ int ChangeInfoData::SaveSettingsToDb(HWND hwndDlg)
if (*(char*)settingData[i].value)
db_set_utf(NULL, ppro->m_szModuleName, setting[i].szDbSetting, (char*)settingData[i].value);
else
- db_unset(NULL, ppro->m_szModuleName, setting[i].szDbSetting);
+ ppro->delSetting(setting[i].szDbSetting);
}
break;
@@ -203,7 +203,7 @@ int ChangeInfoData::SaveSettingsToDb(HWND hwndDlg)
if (*(char*)settingData[i].value)
db_set_utf(NULL, ppro->m_szModuleName, setting[i].szDbSetting, (char*)settingData[i].value);
else
- db_unset(NULL, ppro->m_szModuleName, setting[i].szDbSetting);
+ ppro->delSetting(setting[i].szDbSetting);
break;
case DBVT_WORD: