From ecd8ed3f6a8174a256c344c097d36ef5669a1234 Mon Sep 17 00:00:00 2001 From: JustOff Date: Wed, 22 Aug 2018 14:08:55 +0300 Subject: [PATCH] Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() --- docshell/base/nsDocShell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index a3d42c6791..f4840297d2 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -12282,8 +12282,8 @@ nsDocShell::ShouldAddToSessionHistory(nsIURI* aURI) } if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("logopage") || - buf.EqualsLiteral("newtab") && - !Preferences::GetBool("browser.newtabpage.add_to_session_history", false)) { + (buf.EqualsLiteral("newtab") && + !Preferences::GetBool("browser.newtabpage.add_to_session_history", false))) { return false; } }