summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/INCLUDE/rowheight_funcs.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Clist_nicer/INCLUDE/rowheight_funcs.h
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/INCLUDE/rowheight_funcs.h')
-rw-r--r--plugins/Clist_nicer/INCLUDE/rowheight_funcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/INCLUDE/rowheight_funcs.h b/plugins/Clist_nicer/INCLUDE/rowheight_funcs.h
index 35fedd36fb..d3fb618d19 100644
--- a/plugins/Clist_nicer/INCLUDE/rowheight_funcs.h
+++ b/plugins/Clist_nicer/INCLUDE/rowheight_funcs.h
@@ -30,7 +30,7 @@ public:
height = dat->fontInfo[GetBasicFontID(contact)].fontHeight;
- if(!dat->bisEmbedded) {
+ if (!dat->bisEmbedded) {
if(contact->bSecondLine != MULTIROW_NEVER && contact->bSecondLine != MULTIROW_IFSPACE && contact->type == CLCIT_CONTACT) {
if ((contact->bSecondLine == MULTIROW_ALWAYS || ((cfg::dat.dwFlags & CLUI_FRAME_SHOWSTATUSMSG && contact->bSecondLine == MULTIROW_IFNEEDED) && (contact->xStatus > 0 || cfg::eCache[contact->extraCacheEntry].bStatusMsgValid > STATUSMSG_XSTATUSID))))
height += (dat->fontInfo[FONTID_STATUS].fontHeight + cfg::dat.avatarPadding);
@@ -42,7 +42,7 @@ public:
}
// Checkbox size
- if((style&CLS_CHECKBOXES && contact->type==CLCIT_CONTACT) ||
+ if ((style&CLS_CHECKBOXES && contact->type==CLCIT_CONTACT) ||
(style&CLS_GROUPCHECKBOXES && contact->type==CLCIT_GROUP) ||
(contact->type==CLCIT_INFO && contact->flags&CLCIIF_CHECKBOX))
{