Author: mmlr Date: 2010-02-01 06:36:59 +0100 (Mon, 01 Feb 2010) New Revision: 35376 Changeset: http://dev.haiku-os.org/changeset/35376/haiku Modified: haiku/trunk/src/kits/tracker/CountView.cpp haiku/trunk/src/kits/tracker/CountView.h Log: Automatic whitespace cleanup, no functional change. Modified: haiku/trunk/src/kits/tracker/CountView.cpp =================================================================== --- haiku/trunk/src/kits/tracker/CountView.cpp 2010-02-01 05:30:08 UTC (rev 35375) +++ haiku/trunk/src/kits/tracker/CountView.cpp 2010-02-01 05:36:59 UTC (rev 35376) @@ -216,14 +216,13 @@ else if (IsFiltering()) { itemString << fLastCount << " " << Filter(); } else { - if (fLastCount == 0) + if (fLastCount == 0) itemString << "no items"; - else if (fLastCount == 1) + else if (fLastCount == 1) itemString << "1 item"; - else + else itemString << fLastCount << " items"; } - BString string(itemString); BRect textRect(TextInvalRect()); @@ -253,7 +252,7 @@ AddLine(bounds.LeftTop(), bounds.RightTop(), light); AddLine(bounds.LeftTop(), bounds.LeftBottom(), light); bounds.top--; - + AddLine(bounds.LeftTop(), bounds.RightTop(), shadow); AddLine(BPoint(bounds.right, bounds.top + 2), bounds.RightBottom(), lightShadow); AddLine(bounds.LeftBottom(), bounds.RightBottom(), lightShadow); @@ -282,7 +281,7 @@ BRegion region; region.Set(BarberPoleInnerRect()); - ConstrainClippingRegion(®ion); + ConstrainClippingRegion(®ion); if (fBarberPoleMap) DrawBitmap(fBarberPoleMap, destRect); @@ -340,7 +339,7 @@ } -const char * +const char * BCountView::TypeAhead() const { return fTypeAheadString.String(); Modified: haiku/trunk/src/kits/tracker/CountView.h =================================================================== --- haiku/trunk/src/kits/tracker/CountView.h 2010-02-01 05:30:08 UTC (rev 35375) +++ haiku/trunk/src/kits/tracker/CountView.h 2010-02-01 05:36:59 UTC (rev 35376) @@ -58,7 +58,7 @@ void CheckCount(); void StartBarberPole(); void EndBarberPole(); - + void SetTypeAhead(const char *); const char *TypeAhead() const; bool IsTypingAhead() const;