ControlLook: style changes only

whitespace
indent fix (tiny)
This commit is contained in:
John Scipione
2016-03-22 12:00:35 -07:00
parent 59e1b2f4ce
commit 5b2aa7f856
+4 -2
View File
@@ -1822,14 +1822,16 @@ BControlLook::DrawLabel(BView* view, const char* label, const rgb_color& base,
drawing_mode oldMode = view->DrawingMode(); drawing_mode oldMode = view->DrawingMode();
if (isDesktop) { if (isDesktop) {
// Enforce proper use of desktop label colors. // enforce proper use of desktop label colors
if(low.Brightness() < 100) { if (low.Brightness() < 100) {
if (textColor == NULL) if (textColor == NULL)
color = make_color(255, 255, 255); color = make_color(255, 255, 255);
glowColor = make_color(0, 0, 0); glowColor = make_color(0, 0, 0);
} else { } else {
if (textColor == NULL) if (textColor == NULL)
color = make_color(0, 0, 0); color = make_color(0, 0, 0);
glowColor = make_color(255, 255, 255); glowColor = make_color(255, 255, 255);
} }