diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-30 16:26:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-30 16:26:36 +0000 |
commit | 8c85373fcb86aae9a09e19cae045fa667ba929a4 (patch) | |
tree | 6e9d763efadca018c658b7ece8c100ac86e4e70f /protocols/IcqOscarJ/src/UI | |
parent | 540f5010d9ebdec65b09bdc71fcd6cdf2010beaf (diff) |
some helpers wiped out of ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@2567 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/UI')
-rw-r--r-- | protocols/IcqOscarJ/src/UI/userinfotab.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/IcqOscarJ/src/UI/userinfotab.cpp b/protocols/IcqOscarJ/src/UI/userinfotab.cpp index 47c47d755f..50ee92ce24 100644 --- a/protocols/IcqOscarJ/src/UI/userinfotab.cpp +++ b/protocols/IcqOscarJ/src/UI/userinfotab.cpp @@ -76,13 +76,11 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, HANDLE hContact, dbv.type = DBVT_DELETED;
}
}
- else
- {
+ else {
if (szModule == NULL)
unspecified = 1;
- else
- {
- unspecified = DBGetContactSetting(hContact, szModule, szSetting, &dbv);
+ else {
+ unspecified = db_get(hContact, szModule, szSetting, &dbv);
bDbv = 1;
}
}
@@ -196,7 +194,7 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, HANDLE hContact, SetDlgItemTextA(hwndDlg, idCtrl, pstr);
if (bDbv)
- ICQFreeVariant(&dbv);
+ db_free(&dbv);
if (bAlloc)
SAFE_FREE(&pstr);
|