Hardcoding PI length in GetProcessingInstruction().

git-svn-id: svn://10.0.0.236/trunk@41894 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
1999-08-03 00:12:22 +00:00
parent 4991bec52e
commit d19e4cebb8
2 changed files with 2 additions and 2 deletions

View File

@@ -453,7 +453,7 @@ void GetProcessingInstruction(const nsString& aPIString, char* a_PI)
nsString temp;
PRInt32 theOffset = aPIString.FindCharInSet(theWS2,1);
aPIString.Mid(temp,1,theOffset);
temp.ToCString(a_PI,temp.Length());
temp.ToCString(a_PI,30);
}
return;
}