From c878e619f70ceecc02afc88dbfafd7602449b1b8 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Wed, 18 Jul 2001 20:17:09 +0000 Subject: [PATCH] Fix both! --- content/html/content/src/nsHTMLAnchorElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/content/src/nsHTMLAnchorElement.cpp b/content/html/content/src/nsHTMLAnchorElement.cpp index fc9eb64ceda2..7dfb02fc853b 100644 --- a/content/html/content/src/nsHTMLAnchorElement.cpp +++ b/content/html/content/src/nsHTMLAnchorElement.cpp @@ -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)); }