style fix.

This commit is contained in:
Adrien Destugues 2016-11-06 10:56:11 +01:00
parent 5bc7366fca
commit 02d8a059f0

View File

@ -2650,7 +2650,7 @@ void
BrowserWindow::_ShowBookmarkBar(bool show)
{
// It is not allowed to show the bookmark bar when it is empty
if (show && (!fBookmarkBar || fBookmarkBar->CountItems() <= 1))
if (show && (fBookmarkBar == NULL || fBookmarkBar->CountItems() <= 1))
{
fBookmarkBarMenuItem->SetMarked(false);
return;