more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these.

This commit is contained in:
jfrancis%netscape.com 2002-04-19 07:43:19 +00:00
Родитель 285c95def0
Коммит a04491dcd9
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -471,7 +471,7 @@ nsRangeUpdater::SelAdjInsertText(nsIDOMCharacterData *aTextNode, PRInt32 aOffset
if (!count) return NS_OK;
nsRangeStore *item;
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(aTextNode));
if (!node) NS_ERROR_NULL_POINTER;
if (!node) return NS_ERROR_NULL_POINTER;
for (i=0; i<count; i++)
{
@ -493,11 +493,11 @@ nsRangeUpdater::SelAdjDeleteText(nsIDOMCharacterData *aTextNode, PRInt32 aOffset
if (mLock) return NS_OK; // lock set by Will/DidReplaceParent, etc...
if (!aTextNode) return NS_ERROR_NULL_POINTER;
PRInt32 len=0, i, count = mArray.Count();
PRInt32 i, count = mArray.Count();
if (!count) return NS_OK;
nsRangeStore *item;
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(aTextNode));
if (!node) NS_ERROR_NULL_POINTER;
if (!node) return NS_ERROR_NULL_POINTER;
for (i=0; i<count; i++)
{