From 66952ff91a38fde19f5ed0153210022fd8bfee11 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sun, 25 Jul 2004 12:35:36 +0000 Subject: [PATCH] fixing bustage --- content/base/src/nsHTMLContentSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsHTMLContentSerializer.cpp b/content/base/src/nsHTMLContentSerializer.cpp index 14b0827da2fd..134c6364e9bb 100644 --- a/content/base/src/nsHTMLContentSerializer.cpp +++ b/content/base/src/nsHTMLContentSerializer.cpp @@ -524,7 +524,7 @@ nsHTMLContentSerializer::EscapeURI(const nsAString& aURI, nsAString& aEscapedURI // Loop and escape parts by avoiding escaping reserved characters (and '%', '#' ). while ((end = uri.FindCharInSet("%#;/?:@&=+$,", start)) != -1) { part = Substring(aURI, start, (end-start)); - if (textToSubURI && !part.IsASCII()) { + if (textToSubURI && !IsASCII(part)) { rv = textToSubURI->ConvertAndEscape(mCharSet.get(), part.get(), getter_Copies(escapedURI)); NS_ENSURE_SUCCESS(rv, rv); }