git-svn-id: svn://10.0.0.236/trunk@15260 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1998-11-24 20:23:46 +00:00
parent 25c035a6d5
commit 4102309f80
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;