replace ANSI true/false with PR_TRUE; sorry about that.

This commit is contained in:
rickg%netscape.com 1999-09-30 05:15:37 +00:00
parent b30f5b8b52
commit 350d30ae94
6 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;