Changed NS_ASSERTION to use NS_WARN_IF_FALSE. r=pavlov

git-svn-id: svn://10.0.0.236/trunk@52412 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net 1999-11-01 21:24:24 +00:00
parent ff9db70a07
commit 87358978bd
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ PRBool nsScanner::Append(const char* aBuffer, PRUint32 aLen){
// it won't break UCS2 file
// Hack Start
for(PRInt32 i=0;i<unicharLength;i++)
NS_ASSERTION(0x0000 != unichars[i],"found a null character");
NS_WARN_IF_FALSE(0x0000 != unichars[i], "found a null character");
//if(0x0000 == unichars[i])
//unichars[i] = 0x0020;
// Hack End

View File

@ -275,7 +275,7 @@ PRBool nsScanner::Append(const char* aBuffer, PRUint32 aLen){
// it won't break UCS2 file
// Hack Start
for(PRInt32 i=0;i<unicharLength;i++)
NS_ASSERTION(0x0000 != unichars[i],"found a null character");
NS_WARN_IF_FALSE(0x0000 != unichars[i], "found a null character");
//if(0x0000 == unichars[i])
//unichars[i] = 0x0020;
// Hack End