Fixed bug in string stream length.
git-svn-id: svn://10.0.0.236/trunk@38257 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -158,7 +158,7 @@ class ConstCharImpl
|
||||
|
||||
virtual PRInt32 length() const
|
||||
{
|
||||
return mLength;
|
||||
return mLength - mOffset;
|
||||
}
|
||||
|
||||
virtual PRInt32 read(char* buf, PRUint32 aCount)
|
||||
|
||||
Reference in New Issue
Block a user