diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:22:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:22:55 +0000 |
commit | 1949517360bffdb5fa747f3ed5f4ec4e78c14905 (patch) | |
tree | 3a3408a063d21e3484bb92390600378cd4e0fe2f /protocols/IcqOscarJ/src/changeinfo/db.cpp | |
parent | b7639142c91c6fa38285fdc6de661a0b36d41fbe (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/db.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/changeinfo/db.cpp | 6 |
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:
|