summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-27 12:19:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-27 12:19:08 +0000
commitc0c16a96a67312c05c1e836b885fc3ae6671f1a2 (patch)
tree5fbc2a710e91ba03c2da0d6ffe61066bdc211c09 /plugins/Actman
parent873c6cdd0f7155926f3b8b5fa5db9bf9929c303b (diff)
another attempt to fix problems with FPC & CALLSERVICE_NOTFOUND
git-svn-id: http://svn.miranda-ng.org/main/trunk@3793 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/i_contact.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Actman/i_contact.inc b/plugins/Actman/i_contact.inc
index afbbcd6800..f73325121e 100644
--- a/plugins/Actman/i_contact.inc
+++ b/plugins/Actman/i_contact.inc
@@ -25,7 +25,7 @@ begin
lGroup :=StrPosW(format,'%group%')<>nil;
lAccount:=StrPosW(format,'%account%')<>nil;
lUID :=StrPosW(format,'%uid%')<>nil;
-
+
while hContact<>0 do
begin
if ((not filter) and ((IsContactActive(hContact)+1)>=0)) or // + disabled (not deleted)
@@ -64,7 +64,7 @@ begin
else
begin
uid:=pAnsiChar(CallProtoService(acc,PS_GETCAPS,PFLAG_UNIQUEIDSETTING,0));
- if int_ptr(uid)<>CALLSERVICE_NOTFOUND then
+ if uid <> pAnsiChar(CALLSERVICE_NOTFOUND) then
begin
if DBReadSetting(hContact,acc,uid,@ldbv)=0 then
begin