Fix both!

git-svn-id: svn://10.0.0.236/trunk@99502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2001-07-18 20:17:09 +00:00
parent f7d5c1bbc4
commit 849017d319

View File

@@ -622,7 +622,7 @@ nsHTMLAnchorElement::GetHash(nsAWritableString& aHash)
result = url->GetRef(getter_Copies(ref));
}
if (result == NS_OK && (nsnull != ref.get()) && ('\0' != *ref)) {
if (result == NS_OK && (nsnull != ref.get()) && ('\0' != *ref.get())) {
aHash.Assign(PRUnichar('#'));
aHash.Append(NS_ConvertASCIItoUCS2(ref));
}