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:
warren%netscape.com
1999-07-03 06:49:28 +00:00
parent 2291e9c6b5
commit 3eed8a6463

View File

@@ -158,7 +158,7 @@ class ConstCharImpl
virtual PRInt32 length() const
{
return mLength;
return mLength - mOffset;
}
virtual PRInt32 read(char* buf, PRUint32 aCount)