[haiku-commits] r38148 - haiku/trunk/src/kits/tracker
- From: pulkomandy@xxxxxxxxxxxxxxxxx
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Mon, 16 Aug 2010 17:17:00 +0200 (CEST)
Author: pulkomandy
Date: 2010-08-16 17:17:00 +0200 (Mon, 16 Aug 2010)
New Revision: 38148
Changeset: http://dev.haiku-os.org/changeset/38148
Modified:
haiku/trunk/src/kits/tracker/TitleView.cpp
Log:
CID 1457 : dead code (we know pressed is true at this point).
Modified: haiku/trunk/src/kits/tracker/TitleView.cpp
===================================================================
--- haiku/trunk/src/kits/tracker/TitleView.cpp 2010-08-16 15:07:29 UTC (rev
38147)
+++ haiku/trunk/src/kits/tracker/TitleView.cpp 2010-08-16 15:17:00 UTC (rev
38148)
@@ -486,7 +486,7 @@
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);
}
}
Other related posts:
- » [haiku-commits] r38148 - haiku/trunk/src/kits/tracker - pulkomandy