CID 1457 : dead code (we know pressed is true at this point).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38148 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-16 15:17:00 +00:00
parent 6e24fc677f
commit eb7595ebbd
+1 -1
View File
@@ -486,7 +486,7 @@ BColumnTitle::Draw(BView *view, bool pressed)
be_control_look->DrawButtonBackground(view, rect, rect, base, 0,
BControlLook::B_TOP_BORDER | BControlLook::B_BOTTOM_BORDER);
} else {
view->SetLowColor(pressed ? sDarkTitleBackground : sTitleBackground);
view->SetLowColor(sDarkTitleBackground);
view->FillRect(bounds, B_SOLID_LOW);
}
}