diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-08-22 14:08:55 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-08-22 14:08:55 +0300 |
commit | c6498fe688515413144376dc59b728905c72b34e (patch) | |
tree | 2e62e0a144917ae52921dce3090f398e09ff58e1 /docshell | |
parent | de50d15d2800e947fb800a9a318969cebddceb67 (diff) | |
download | UXP-c6498fe688515413144376dc59b728905c72b34e.tar UXP-c6498fe688515413144376dc59b728905c72b34e.tar.gz UXP-c6498fe688515413144376dc59b728905c72b34e.tar.lz UXP-c6498fe688515413144376dc59b728905c72b34e.tar.xz UXP-c6498fe688515413144376dc59b728905c72b34e.zip |
Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory()
Diffstat (limited to 'docshell')
-rw-r--r-- | docshell/base/nsDocShell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index a3d42c679..f4840297d 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; } } |