fixed bug 1827

git-svn-id: svn://10.0.0.236/trunk@19367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com 1999-02-02 22:53:42 +00:00
parent 3fc6324194
commit 4e7fb0aec6
2 changed files with 4 additions and 0 deletions

View File

@ -527,6 +527,8 @@ nsHTMLFramesetFrame::ParseRowColSpec(nsString& aSpec, PRInt32 aMaxNumValues,
static const PRUnichar PERCENT('%');
static const PRUnichar COMMA(',');
aSpec.Trim(" \n\r\t"); // remove leading and trailing whitespace
// Count the commas
PRInt32 commaX = aSpec.Find(COMMA);
PRInt32 count = 1;

View File

@ -527,6 +527,8 @@ nsHTMLFramesetFrame::ParseRowColSpec(nsString& aSpec, PRInt32 aMaxNumValues,
static const PRUnichar PERCENT('%');
static const PRUnichar COMMA(',');
aSpec.Trim(" \n\r\t"); // remove leading and trailing whitespace
// Count the commas
PRInt32 commaX = aSpec.Find(COMMA);
PRInt32 count = 1;