mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 21:22:47 +00:00
fix for 10584
This commit is contained in:
parent
eba563750f
commit
49b63463ff
@ -257,7 +257,7 @@ NS_IMETHODIMP DeleteRangeTxn::CreateTxnsToDeleteBetween(nsIDOMNode *aStartParent
|
||||
children->GetLength(&childCount);
|
||||
NS_ASSERTION(aEndOffset<=childCount, "bad aEndOffset");
|
||||
PRUint32 i;
|
||||
for (i=aStartOffset; i<=aEndOffset; i++)
|
||||
for (i=aStartOffset; i<aEndOffset; i++)
|
||||
{
|
||||
nsCOMPtr<nsIDOMNode> child;
|
||||
result = children->Item(i, getter_AddRefs(child));
|
||||
|
@ -257,7 +257,7 @@ NS_IMETHODIMP DeleteRangeTxn::CreateTxnsToDeleteBetween(nsIDOMNode *aStartParent
|
||||
children->GetLength(&childCount);
|
||||
NS_ASSERTION(aEndOffset<=childCount, "bad aEndOffset");
|
||||
PRUint32 i;
|
||||
for (i=aStartOffset; i<=aEndOffset; i++)
|
||||
for (i=aStartOffset; i<aEndOffset; i++)
|
||||
{
|
||||
nsCOMPtr<nsIDOMNode> child;
|
||||
result = children->Item(i, getter_AddRefs(child));
|
||||
|
Loading…
x
Reference in New Issue
Block a user