summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch/i_ok.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-30 18:59:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-30 18:59:38 +0000
commit10bc9e42dfba6ed8be41199243d688c2e367dc0d (patch)
tree891aca91eeb2feddb6c76498c4eb880689360fe6 /plugins/QuickSearch/i_ok.inc
parent5dac5be47f2d9af8cbceead6511ff4c0fc40bab5 (diff)
MS_CLIST_GETSTATUSMODEDESCRIPTION & MS_CLIST_GETCONTACTDISPLAYNAME replaced with pcli->* members
git-svn-id: http://svn.miranda-ng.org/main/trunk@14459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/i_ok.inc')
-rw-r--r--plugins/QuickSearch/i_ok.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc
index 51e756aacd..009dcd6ba5 100644
--- a/plugins/QuickSearch/i_ok.inc
+++ b/plugins/QuickSearch/i_ok.inc
@@ -266,7 +266,6 @@ begin
mFreeMem(res.text);
with column^ do
begin
-
case setting_type of
QST_SCRIPT: begin
res.text:=ParseVarString(script,hContact);
@@ -390,10 +389,15 @@ begin
end;
end;
- QST_OTHER: case other of
+ QST_OTHER:
+ case other of
QSTO_LASTSEEN: begin
res.data:=BuildLastSeenTimeInt(hContact,'SeenModule');
- res.text:=BuildLastSeenTime (res.data);
+ res.text:=BuildLastSeenTime(res.data);
+ end;
+
+ QSTO_DISPLAYNAME: begin
+ StrDupW(res.text,cli^.pfnGetContactDisplayName(hContact, 0));
end;
QSTO_LASTEVENT: begin
@@ -419,7 +423,6 @@ begin
res.text:=int2strw(res.data);
end;
end;
-
end;
end;
end;
@@ -573,7 +576,7 @@ begin
begin
if ((SBData[i].flags and (QSF_ACCDEL or QSF_ACCOFF))<>0) then
begin
- icon:=Skin_LoadProtoIcon(0,ID_STATUS_OFFLINE,0);
+ icon:=Skin_LoadProtoIcon(nil,ID_STATUS_OFFLINE,0);
end
else
begin