diff options
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);
|