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
@@ -96,7 +96,7 @@ BCheckBox::Archive(BMessage *archive, bool deep) const
void
BCheckBox::Draw(BRect updateRect)
{
if (be_control_look) {
if (be_control_look != NULL) {
rgb_color base = ui_color(B_PANEL_BACKGROUND_COLOR);
uint32 flags = be_control_look->Flags(this);