removed calls to deprecated nsString methods

git-svn-id: svn://10.0.0.236/trunk@62717 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-12 11:06:57 +00:00
parent 603b43a1ea
commit 4fdc8bcb58
12 changed files with 23 additions and 23 deletions

View File

@@ -3816,11 +3816,11 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
PRBool done = PR_FALSE;
while (!done && !token.IsEmpty()) {
token.CompressWhitespace();
if (millis == -1 && nsString::IsDigit(token.First())) {
if (millis == -1 && nsCRT::IsAsciiDigit(token.First())) {
PRInt32 i = 0;
PRUnichar value = nsnull;
while ((value = token[i++])) {
if (!nsString::IsDigit(value)) {
if (!nsCRT::IsAsciiDigit(value)) {
i = -1;
break;
}