style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23502 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-01-13 22:17:15 +00:00
parent bf86f09912
commit c71ff07bd9
5 changed files with 74 additions and 75 deletions

View File

@ -77,7 +77,6 @@ HEventItem::DrawItem(BView *owner, BRect itemRect, bool complete)
owner->SetLowColor(color);
owner->FillRect(itemRect);
owner->SetHighColor(kBlack);
}
else {
owner->SetLowColor(owner->ViewColor());

View File

@ -40,9 +40,9 @@
* Constructor
***********************************************************/
HWindow::HWindow(BRect rect, const char* name)
:_inherited(rect,name,B_TITLED_WINDOW,0)
,fFilePanel(NULL)
,fPlayer(NULL)
:_inherited(rect, name, B_TITLED_WINDOW, 0),
fFilePanel(NULL),
fPlayer(NULL)
{
InitGUI();
float min_width, min_height, max_width, max_height;
@ -336,7 +336,7 @@ HWindow::SetupMenuField()
BEntry entry;
BPath item_path;
while (err == B_OK){
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
err = dir.GetNextEntry((BEntry *)&entry, true);
if (entry.InitCheck() != B_NO_ERROR) {
break;
}
@ -356,7 +356,7 @@ HWindow::SetupMenuField()
dir.SetTo(path.Path());
err = B_OK;
while (err == B_OK) {
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
err = dir.GetNextEntry((BEntry *)&entry, true);
if (entry.InitCheck() != B_NO_ERROR) {
break;
}
@ -377,7 +377,7 @@ HWindow::SetupMenuField()
dir.SetTo(path.Path());
err = B_OK;
while (err == B_OK) {
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
err = dir.GetNextEntry((BEntry *)&entry, true);
if (entry.InitCheck() != B_NO_ERROR) {
break;
}