Bug #126981 --> make HTML anchors work again by reversing the logic on an if clause.

r=sspitzer
sr=alecf
a=shaver


git-svn-id: svn://10.0.0.236/trunk@115177 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2002-02-21 23:16:57 +00:00
parent 4f9223fb98
commit 947746f3e4

View File

@@ -4971,7 +4971,7 @@ nsDocShell::ScrollIfAnchor(nsIURI * aURI, PRBool * aWasAnchor)
// This means that comparing "http://www.ABC.com/" to "http://www.abc.com/"
// will fail this test.
if (Substring(currentLeftStart, currentLeftEnd).Equals(sNewLeft)) {
if (!Substring(currentLeftStart, currentLeftEnd).Equals(sNewLeft)) {
return NS_OK; // URIs not the same
}