mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory()
This commit is contained in:
parent
c402ee2148
commit
ecd8ed3f6a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue