diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-24 21:24:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-24 21:24:48 +0000 |
commit | 06e18e1c3973b4260ba09072b430196b00e25799 (patch) | |
tree | 13ce768a39eb985c0bce704226068b330da55e4e /plugins/Clist_modern | |
parent | e14c5d3a04e44b893b10b8860893fc4e2b675fb8 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@7871 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clcpaint.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/modern_clcpaint.cpp b/plugins/Clist_modern/src/modern_clcpaint.cpp index e56b60f31e..633aa898d0 100644 --- a/plugins/Clist_modern/src/modern_clcpaint.cpp +++ b/plugins/Clist_modern/src/modern_clcpaint.cpp @@ -167,17 +167,14 @@ int CLCPaint::GetBasicFontID(ClcContact *contact) return FONTID_DIVIDERS;
case CLCIT_CONTACT:
- if ( contact->flags & CONTACTF_NOTONLIST )
+ if (contact->flags & CONTACTF_NOTONLIST)
return FONTID_NOTONLIST;
- if (( contact->flags&CONTACTF_INVISTO
- && _GetRealStatus( contact, ID_STATUS_OFFLINE ) != ID_STATUS_INVISIBLE )
- ||
- ( contact->flags&CONTACTF_VISTO
- && _GetRealStatus( contact, ID_STATUS_OFFLINE ) == ID_STATUS_INVISIBLE ))
+ if (((contact->flags & CONTACTF_INVISTO) && _GetRealStatus(contact, ID_STATUS_OFFLINE) != ID_STATUS_INVISIBLE) ||
+ ((contact->flags & CONTACTF_VISTO && _GetRealStatus(contact, ID_STATUS_OFFLINE) == ID_STATUS_INVISIBLE)))
{
// the contact is in the always visible list and the proto is invisible
// the contact is in the always invisible and the proto is in any other mode
- return contact->flags & CONTACTF_ONLINE ? FONTID_INVIS : FONTID_OFFINVIS;
+ return (contact->flags & CONTACTF_ONLINE) ? FONTID_INVIS : FONTID_OFFINVIS;
}
switch( pdnce___GetStatus( pdnce )) {
|