From 90433c431edd265ad2102973619690a69eb0f0a2 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 16 Feb 2011 19:22:43 +0000 Subject: [PATCH] * minor cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40537 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/time/SectionEdit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/preferences/time/SectionEdit.cpp b/src/preferences/time/SectionEdit.cpp index 9dd0a32f7b..5894b726e1 100644 --- a/src/preferences/time/SectionEdit.cpp +++ b/src/preferences/time/SectionEdit.cpp @@ -8,6 +8,7 @@ * */ + #include "SectionEdit.h" #include @@ -88,7 +89,7 @@ TSectionEdit::Draw(BRect updateRect) for (uint32 idx = 0; idx < fSectionCount; idx++) { DrawSection(idx, ((uint32)fFocus == idx) && IsFocus()); - if (idx < fSectionCount -1) + if (idx < fSectionCount - 1) DrawSeparator(idx); } } @@ -103,7 +104,7 @@ TSectionEdit::MouseDown(BPoint where) DoUpPress(); else if (fDownRect.Contains(where)) DoDownPress(); - else if (fSectionList->CountItems()> 0) { + else if (fSectionList->CountItems() > 0) { TSection* section; for (uint32 idx = 0; idx < fSectionCount; idx++) { section = (TSection*)fSectionList->ItemAt(idx); @@ -141,7 +142,7 @@ TSectionEdit::KeyDown(const char* bytes, int32 numbytes) case B_LEFT_ARROW: fFocus -= 1; if (fFocus < 0) - fFocus = fSectionCount -1; + fFocus = fSectionCount - 1; SectionFocus(fFocus); break; @@ -251,4 +252,3 @@ TSectionEdit::SeparatorWidth() const { return 0.0f; } -