Fix bustage from bug 345099

git-svn-id: svn://10.0.0.236/trunk@204960 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brettw%gmail.com
2006-07-27 18:39:18 +00:00
parent 0cfc90a751
commit abe6b7bd0b

View File

@@ -4495,7 +4495,7 @@ nsTypedSelection::RemoveItem(nsIDOMRange *aItem)
break;
}
}
if (index < 0)
if (idx < 0)
return NS_ERROR_INVALID_ARG;
mRanges.RemoveElementAt(idx);