Use be_control_look != NULL everywhere in the Interface Kit.

Should not be a functional change. It is not in the Haiku Coding Guidelines but
I feel like 'if (object != NULL)' is generally preferred to 'if (object)', plus
in this case of be_control_look that is the more common style.
This commit is contained in:
Ryan Leavengood
2012-08-05 18:07:23 -04:00
parent 7483c98dec
commit 57c5b09e1a
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1081,7 +1081,7 @@ BScrollBar::Draw(BRect updateRect)
}
// fill the clickable surface of the thumb
if (be_control_look) {
if (be_control_look != NULL) {
be_control_look->DrawButtonBackground(this, rect, updateRect,
normal, 0, BControlLook::B_ALL_BORDERS, fOrientation);
} else {