fixed bug 1827

This commit is contained in:
karnaze%netscape.com 1999-02-02 22:53:42 +00:00
parent 121db48cc2
commit f0bb1e91f9
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;