Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE.

This commit is contained in:
mcafee%netscape.com 1999-02-19 01:41:03 +00:00
parent 1ef4f256bc
commit 42b7604d15
2 changed files with 6 additions and 6 deletions

View File

@ -365,7 +365,7 @@ nsresult nsContentIterator::First()
{
if (!mFirst)
return NS_ERROR_FAILURE;
mIsDone = false;
mIsDone = PR_FALSE;
if (mFirst == mCurNode)
return NS_OK;
mCurNode = mFirst;
@ -377,7 +377,7 @@ nsresult nsContentIterator::Last()
{
if (!mLast)
return NS_ERROR_FAILURE;
mIsDone = false;
mIsDone = PR_FALSE;
if (mLast == mCurNode)
return NS_OK;
mCurNode = mLast;
@ -393,7 +393,7 @@ nsresult nsContentIterator::Next()
return NS_OK;
if (mCurNode == mLast)
{
mIsDone = true;
mIsDone = PR_TRUE;
return NS_ERROR_FAILURE;
}

View File

@ -365,7 +365,7 @@ nsresult nsContentIterator::First()
{
if (!mFirst)
return NS_ERROR_FAILURE;
mIsDone = false;
mIsDone = PR_FALSE;
if (mFirst == mCurNode)
return NS_OK;
mCurNode = mFirst;
@ -377,7 +377,7 @@ nsresult nsContentIterator::Last()
{
if (!mLast)
return NS_ERROR_FAILURE;
mIsDone = false;
mIsDone = PR_FALSE;
if (mLast == mCurNode)
return NS_OK;
mCurNode = mLast;
@ -393,7 +393,7 @@ nsresult nsContentIterator::Next()
return NS_OK;
if (mCurNode == mLast)
{
mIsDone = true;
mIsDone = PR_TRUE;
return NS_ERROR_FAILURE;
}