From af731d0a1e80f247a4216c407b2d65c843cb1bcc Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Thu, 30 Sep 1999 05:15:37 +0000 Subject: [PATCH] replace ANSI true/false with PR_TRUE; sorry about that. git-svn-id: svn://10.0.0.236/trunk@49405 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsString.cpp | 4 ++-- mozilla/string/obsolete/nsString2.cpp | 4 ++-- mozilla/xpcom/ds/nsString.cpp | 4 ++-- mozilla/xpcom/ds/nsString2.cpp | 4 ++-- mozilla/xpcom/string/obsolete/nsString.cpp | 4 ++-- mozilla/xpcom/string/obsolete/nsString2.cpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mozilla/string/obsolete/nsString.cpp b/mozilla/string/obsolete/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/mozilla/string/obsolete/nsString.cpp +++ b/mozilla/string/obsolete/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/mozilla/string/obsolete/nsString2.cpp b/mozilla/string/obsolete/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/mozilla/string/obsolete/nsString2.cpp +++ b/mozilla/string/obsolete/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/mozilla/xpcom/ds/nsString.cpp b/mozilla/xpcom/ds/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/mozilla/xpcom/ds/nsString.cpp +++ b/mozilla/xpcom/ds/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/mozilla/xpcom/ds/nsString2.cpp b/mozilla/xpcom/ds/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/mozilla/xpcom/ds/nsString2.cpp +++ b/mozilla/xpcom/ds/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/mozilla/xpcom/string/obsolete/nsString.cpp b/mozilla/xpcom/string/obsolete/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/mozilla/xpcom/string/obsolete/nsString.cpp +++ b/mozilla/xpcom/string/obsolete/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/mozilla/xpcom/string/obsolete/nsString2.cpp b/mozilla/xpcom/string/obsolete/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/mozilla/xpcom/string/obsolete/nsString2.cpp +++ b/mozilla/xpcom/string/obsolete/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix;