fixed bug 1827
git-svn-id: svn://10.0.0.236/trunk@19367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3fc6324194
commit
4e7fb0aec6
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user