From 42b7604d15043168bbfca371966033886a344486 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Fri, 19 Feb 1999 01:41:03 +0000 Subject: [PATCH] Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. --- content/base/src/nsContentIterator.cpp | 6 +++--- layout/base/src/nsContentIterator.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/base/src/nsContentIterator.cpp b/content/base/src/nsContentIterator.cpp index a686f8ee1bbc..0e88aa4eded7 100644 --- a/content/base/src/nsContentIterator.cpp +++ b/content/base/src/nsContentIterator.cpp @@ -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; } diff --git a/layout/base/src/nsContentIterator.cpp b/layout/base/src/nsContentIterator.cpp index a686f8ee1bbc..0e88aa4eded7 100644 --- a/layout/base/src/nsContentIterator.cpp +++ b/layout/base/src/nsContentIterator.cpp @@ -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; }