Bug 106509: SaveSelection() doesn't delete entries from range correctly;

the test was backwards and never executed.  r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@106969 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rjesup%wgate.com
2001-11-01 15:44:26 +00:00
parent c11a56bbb0
commit ba5d380603

View File

@@ -80,7 +80,7 @@ nsSelectionState::SaveSelection(nsISelection *aSel)
}
// else if we have too many, delete them
else if (rangeCount>arrayCount)
else if (arrayCount>rangeCount)
{
while ((item = (nsRangeStore*)mArray.ElementAt(rangeCount)))
{