summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docshell/base/nsDocShell.cpp4
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;
}
}