From 8c85373fcb86aae9a09e19cae045fa667ba929a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Nov 2012 16:26:36 +0000 Subject: some helpers wiped out of ICQ git-svn-id: http://svn.miranda-ng.org/main/trunk@2567 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/UI/userinfotab.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'protocols/IcqOscarJ/src/UI/userinfotab.cpp') 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); -- cgit v1.2.3