This commit is contained in:
rickg%netscape.com 1998-11-24 20:23:46 +00:00
parent 87cbc01e26
commit 51582a22b5
4 changed files with 12 additions and 0 deletions

View File

@ -588,6 +588,9 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
result=-result;
break;
}
else if('+'==theChar) {
break;
}
else{
*aErrorCode=NS_ERROR_ILLEGAL_VALUE;
result=0;

View File

@ -588,6 +588,9 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
result=-result;
break;
}
else if('+'==theChar) {
break;
}
else{
*aErrorCode=NS_ERROR_ILLEGAL_VALUE;
result=0;

View File

@ -588,6 +588,9 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
result=-result;
break;
}
else if('+'==theChar) {
break;
}
else{
*aErrorCode=NS_ERROR_ILLEGAL_VALUE;
result=0;

View File

@ -588,6 +588,9 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
result=-result;
break;
}
else if('+'==theChar) {
break;
}
else{
*aErrorCode=NS_ERROR_ILLEGAL_VALUE;
result=0;