making string conversions explicit

This commit is contained in:
scc@netscape.com
2000-04-22 10:31:38 +00:00
parent b7f1414101
commit 5b4f9a66b9
6 changed files with 8 additions and 8 deletions

View File

@@ -1274,7 +1274,7 @@ nsresult ConsumeQuotedString(PRUnichar aChar,nsString& aString,nsScanner& aScann
if(ch!=aChar) {
if(!aScanner.IsIncremental() && result==kEOF) {
aScanner.Mark(theOffset);
aString=aChar;
aString.Assign(aChar);
result=kBadStringLiteral;
}
else {