summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_contacts.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
commitf51995e13679a37851baef8e7f52f2d993cbc7c1 (patch)
tree25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /plugins/HistoryPlusPlus/hpp_contacts.pas
parentfe1e8456d2488095f409a4f2d38b7251abdedccf (diff)
mode old database junk to die
git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_contacts.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_contacts.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_contacts.pas b/plugins/HistoryPlusPlus/hpp_contacts.pas
index e898d003f3..331efce404 100644
--- a/plugins/HistoryPlusPlus/hpp_contacts.pas
+++ b/plugins/HistoryPlusPlus/hpp_contacts.pas
@@ -152,7 +152,7 @@ begin
Result := WideToAnsiString(dbv.szVal.w, hppCodepage);
end;
// free variant
- DBFreeVariant(@dbv);
+ db_free(@dbv);
end;
end;
end;
@@ -230,7 +230,7 @@ begin
if Proto = '' then
exit;
case RTLMode of
- hppRTLDefault: DBDeleteContactSetting(hContact, PAnsiChar(Proto), 'RTL');
+ hppRTLDefault: db_unset(hContact, PAnsiChar(Proto), 'RTL');
hppRTLEnable: WriteDBByte(hContact, Proto, 'RTL', Byte(True));
hppRTLDisable: WriteDBByte(hContact, Proto, 'RTL', Byte(false));
end;