summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-13 18:13:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-13 18:13:42 +0000
commita6b06e8fee136a38231c3c15a438fe5043ed82eb (patch)
tree8a8d792864ee2fd0e91250ab1475cb3bffecd3a3 /plugins/Watrack
parentf51624f1de698b42024ac7a41470ca347ee6f996 (diff)
more useless helpers wiped out of pascal code
git-svn-id: http://svn.miranda-ng.org/main/trunk@17293 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/proto/i_proto_dlg.inc2
-rw-r--r--plugins/Watrack/watrack.dpr2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack/proto/i_proto_dlg.inc b/plugins/Watrack/proto/i_proto_dlg.inc
index d5c3f2262b..fff194f5d9 100644
--- a/plugins/Watrack/proto/i_proto_dlg.inc
+++ b/plugins/Watrack/proto/i_proto_dlg.inc
@@ -32,7 +32,7 @@ begin
if SendMessage(hwndList,CLM_GETCHECKMARK,hItem,0)<>0 then
DBWriteByte(hContact,strCList,ShareOptText,1)
else
- DBDeleteSetting(hContact,strCList,ShareOptText);
+ db_unset(hContact,strCList,ShareOptText);
end;
hContact:=db_find_next(hContact);
end;
diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr
index f653ec22ea..d766d53b06 100644
--- a/plugins/Watrack/watrack.dpr
+++ b/plugins/Watrack/watrack.dpr
@@ -557,7 +557,7 @@ begin
dbetd.flags :=cdbetd[i].flags;
dbetd.eventType :=cdbetd[i].event;
dbetd.descr :=cdbetd[i].descr;
- CallService(MS_DB_EVENT_REGISTERTYPE,0,TLPARAM(@dbetd));
+ DbEvent_RegisterType(@dbetd);
end;
// Load WATrack modules