ActivityMonitor: Style violation fixed. Thanks Axel!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35101 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2010-01-16 16:38:12 +00:00
parent 0e403fd188
commit e45d83a9c8
+2 -2
View File
@@ -1236,8 +1236,8 @@ ActivityView::_LegendHeight() const
int32 rows = (fSources.CountItems() + 1) / 2;
int32 boldMargin = Parent() &&
(Parent()->Flags() & B_DRAW_ON_CHILDREN) != 0 ? 2 : 0;
int32 boldMargin = Parent()
&& (Parent()->Flags() & B_DRAW_ON_CHILDREN) != 0 ? 2 : 0;
return rows * (4 + ceilf(fontHeight.ascent)
+ ceilf(fontHeight.descent) + ceilf(fontHeight.leading)) + boldMargin;