diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-30 20:10:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-30 20:10:26 +0000 |
commit | 2bbb9971bf1711850504d93828f571e27147abc7 (patch) | |
tree | 58d7b09d4a5f89f3990fff0ddd98c562e37b122c /plugins/ImportTXT/BqhfIP.inc | |
parent | 53bb473ba5f24175ac124098dac69df6ca3570a3 (diff) |
MS_DB_EVENT_* services' calls removed from pascal sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@4262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ImportTXT/BqhfIP.inc')
-rw-r--r-- | plugins/ImportTXT/BqhfIP.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ImportTXT/BqhfIP.inc b/plugins/ImportTXT/BqhfIP.inc index 26f8737b7f..0648880175 100644 --- a/plugins/ImportTXT/BqhfIP.inc +++ b/plugins/ImportTXT/BqhfIP.inc @@ -71,7 +71,7 @@ begin inc(pt, $2E + UIDLen + 2 + NickLen);
if fsz <> FileLen - ($2E + UIDLen + 2 + NickLen) then
fsz := FileLen - ($2E + UIDLen + 2 + NickLen);
-
+
if (DContact.hContact = 0) or (DContact.hContact = INVALID_HANDLE_VALUE)
then
begin
@@ -111,7 +111,7 @@ begin Move(DecodeQHFMsg(qhfver, pt + i + szMsgHd, dbei.cbBlob - 1)[1],
dbei.pBlob^, dbei.cbBlob - 1);
if not IsDuplicateEvent(DContact.hContact, dbei) then
- if CallService(MS_DB_EVENT_ADD, wParam(DContact.hContact), lParam(@dbei))<>0 then
+ if db_event_add(DContact.hContact, @dbei) <> 0 then
inc(AddedMessages)
else
begin
|