From 802411e84d2eefc687d0ec5de696f4299ed569cc Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Sun, 12 Mar 2000 01:11:41 +0000 Subject: [PATCH] r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem git-svn-id: svn://10.0.0.236/trunk@62674 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsHTMLContentSink.cpp | 4 ++-- mozilla/layout/html/document/src/nsHTMLContentSink.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index e2775017c85..94649437947 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -3806,7 +3806,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode) PRInt32 millis = -1; PRUnichar *uriAttrib = nsnull; - PRInt32 semiColon = result.FindChar(';'); + PRInt32 semiColon = result.FindCharInSet(";,"); nsAutoString token; if (semiColon > -1) result.Left(token, semiColon); @@ -3845,7 +3845,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode) // Increment to the next token. if (semiColon > -1) { semiColon++; - PRInt32 semiColon2 = result.FindChar(';', PR_FALSE, semiColon); + PRInt32 semiColon2 = result.FindCharInSet(";,", semiColon); if (semiColon2 == -1) semiColon2 = result.Length(); result.Mid(token, semiColon, semiColon2 - semiColon); semiColon = semiColon2; diff --git a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp index e2775017c85..94649437947 100644 --- a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp @@ -3806,7 +3806,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode) PRInt32 millis = -1; PRUnichar *uriAttrib = nsnull; - PRInt32 semiColon = result.FindChar(';'); + PRInt32 semiColon = result.FindCharInSet(";,"); nsAutoString token; if (semiColon > -1) result.Left(token, semiColon); @@ -3845,7 +3845,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode) // Increment to the next token. if (semiColon > -1) { semiColon++; - PRInt32 semiColon2 = result.FindChar(';', PR_FALSE, semiColon); + PRInt32 semiColon2 = result.FindCharInSet(";,", semiColon); if (semiColon2 == -1) semiColon2 = result.Length(); result.Mid(token, semiColon, semiColon2 - semiColon); semiColon = semiColon2;