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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user