diff --git a/src/apps/deskbar/BarMenuBar.cpp b/src/apps/deskbar/BarMenuBar.cpp index ce4932edc2..afacc894c1 100644 --- a/src/apps/deskbar/BarMenuBar.cpp +++ b/src/apps/deskbar/BarMenuBar.cpp @@ -88,7 +88,7 @@ TBarMenuBar::SmartResize(float width, float height) width -= 1; - if (fSeparatorItem) + if (fSeparatorItem != NULL) fDeskbarMenuItem->SetWidthHeight(width - kSepItemWidth, height); else { int32 count = CountItems();