Move static constructor into function instead of global. It was coredumping on AIX

git-svn-id: svn://10.0.0.236/trunk@47650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com
1999-09-15 21:10:43 +00:00
parent 3036cb7a8a
commit f864b22774
2 changed files with 2 additions and 2 deletions

View File

@@ -583,9 +583,9 @@ PRInt32 CRTFContent::GetTokenType() {
* @param
* @return
*/
static nsString textTerminators("\\{}");
nsresult CRTFContent::Consume(PRUnichar aChar,nsScanner& aScanner) {
static nsString textTerminators("\\{}");
PRInt32 result=aScanner.ReadUntil(mTextValue,textTerminators,PR_FALSE,PR_FALSE);
return result;
}