[haiku-commits] haiku: hrev44833 - src/apps/deskbar

  • From: jscipione@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 14 Nov 2012 00:52:14 +0100 (CET)

hrev44833 adds 1 changeset to branch 'master'
old head: 618ae8a8f65cde67a7171504e8f0a7379f93571b
new head: 0f10682f8bf962a5e7d30a22d9fd5da7bf632409

----------------------------------------------------------------------------

0f10682: Small style fix

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44833
Commit:      0f10682f8bf962a5e7d30a22d9fd5da7bf632409
URL:         http://cgit.haiku-os.org/haiku/commit/?id=0f10682
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Tue Nov 13 23:51:57 2012 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/deskbar/BarMenuBar.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/apps/deskbar/BarMenuBar.cpp b/src/apps/deskbar/BarMenuBar.cpp
index ce4932e..afacc89 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();


Other related posts:

  • » [haiku-commits] haiku: hrev44833 - src/apps/deskbar - jscipione