summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/rowheight_funcs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-10 12:11:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-10 12:11:15 +0000
commit3edfebd9fbf17fd9e77b371ffc14a7ec264bb485 (patch)
tree770ac65c0d515935389ee3ff5248e679937c396d /plugins/Clist_nicer/src/rowheight_funcs.cpp
parent8e71ba6e620317052a0122135270e6fd4275e74a (diff)
- fix for Clist Nicer status button
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/rowheight_funcs.cpp')
-rw-r--r--plugins/Clist_nicer/src/rowheight_funcs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/rowheight_funcs.cpp b/plugins/Clist_nicer/src/rowheight_funcs.cpp
index 25a7b6b68d..3ef0bef92e 100644
--- a/plugins/Clist_nicer/src/rowheight_funcs.cpp
+++ b/plugins/Clist_nicer/src/rowheight_funcs.cpp
@@ -161,7 +161,7 @@ void RowHeight::calcRowHeights(ClcData *dat, HWND hwnd)
{
group=group->parent;
indent--;
- if(group==NULL) break; // Finished list
+ if (group==NULL) break; // Finished list
group->scanIndex++;
continue;
}
@@ -173,7 +173,7 @@ void RowHeight::calcRowHeights(ClcData *dat, HWND hwnd)
// Calc row height
getRowHeight(dat, hwnd, Drawing, line_num, dwStyle);
- if(group->cl.items[group->scanIndex]->type==CLCIT_GROUP && /*!IsBadCodePtr((FARPROC)group->cl.items[group->scanIndex]->group) && */ (group->cl.items[group->scanIndex]->group->expanded & 0x0000ffff)) {
+ if (group->cl.items[group->scanIndex]->type==CLCIT_GROUP && /*!IsBadCodePtr((FARPROC)group->cl.items[group->scanIndex]->group) && */ (group->cl.items[group->scanIndex]->group->expanded & 0x0000ffff)) {
group=group->cl.items[group->scanIndex]->group;
indent++;
group->scanIndex=0;
@@ -271,7 +271,7 @@ int RowHeight::getFloatingRowHeight(const ClcData *dat, HWND hwnd, ClcContact *c
if (!dat->bisEmbedded) {
if (!(dwFlags & FLT_SIMPLE)) {
- if(dwFlags & FLT_DUALROW) {
+ if (dwFlags & FLT_DUALROW) {
height += (dat->fontInfo[FONTID_STATUS].fontHeight + cfg::dat.avatarPadding);
}
// Avatar size