summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-22 20:32:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-22 20:32:54 +0000
commit54c8105a8c651821638340c25ebf1028d92d06fb (patch)
tree1c979417ca12180737abeff6472cd45e2b04811f /plugins/Clist_mw/src/clistmod.cpp
parenta5f52c9e4d4eb819ede04e55899e5699269e8397 (diff)
calls of MS_CLIST_GETCONTACTICON replaced with the direct CLIST_INTERFACE calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@7831 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clistmod.cpp')
-rw-r--r--plugins/Clist_mw/src/clistmod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_mw/src/clistmod.cpp b/plugins/Clist_mw/src/clistmod.cpp
index 99e6edef66..9beb827e1d 100644
--- a/plugins/Clist_mw/src/clistmod.cpp
+++ b/plugins/Clist_mw/src/clistmod.cpp
@@ -63,11 +63,11 @@ int cli_IconFromStatusMode(const char *szProto,int nStatus, HANDLE hContact)
}
}
- if ( ProtoServiceExists(szActProto, PS_GETADVANCEDSTATUSICON))
+ if (ProtoServiceExists(szActProto, PS_GETADVANCEDSTATUSICON))
result = ProtoCallService(szActProto, PS_GETADVANCEDSTATUSICON, (WPARAM)hActContact, 0);
+ // result == -1 means no Advanced icon. LOWORD(result) == 0 happens when Advanced icon returned by ICQ (i.e. no transpot)
if (result == -1 || !(LOWORD(result)))
- // result == -1 means no Advanced icon. LOWORD(result) == 0 happens when Advanced icon returned by ICQ (i.e. no transpot)
result = saveIconFromStatusMode(szActProto,nActStatus,NULL);
}
else result = saveIconFromStatusMode(szProto,nStatus,NULL);