summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/changeinfo/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/changeinfo/db.cpp')
-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: