Fix both!
git-svn-id: svn://10.0.0.236/trunk@99502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user