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
This commit is contained in:
parent
5b60a26d2b
commit
af731d0a1e
@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) {
|
|||||||
else theInt=(int)~(theInt-1);
|
else theInt=(int)~(theInt-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool isfirst=true;
|
PRBool isfirst=PR_TRUE;
|
||||||
while(mask1>=1) {
|
while(mask1>=1) {
|
||||||
PRInt32 div=theInt/mask1;
|
PRInt32 div=theInt/mask1;
|
||||||
if((div) || (!isfirst)) {
|
if((div) || (!isfirst)) {
|
||||||
buf[charpos++]="0123456789abcdef"[div];
|
buf[charpos++]="0123456789abcdef"[div];
|
||||||
isfirst=false;
|
isfirst=PR_FALSE;
|
||||||
}
|
}
|
||||||
theInt-=div*mask1;
|
theInt-=div*mask1;
|
||||||
mask1/=aRadix;
|
mask1/=aRadix;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user