added radio groups, select/option, beter sizing. widgets take creation parms.
git-svn-id: svn://10.0.0.236/trunk@616 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -538,6 +538,7 @@ float nsString::ToFloat(PRInt32* aErrorCode) const
|
||||
if (*cp != 0) {
|
||||
*aErrorCode = NS_ERROR_ILLEGAL_VALUE;
|
||||
}
|
||||
*aErrorCode = NS_OK;
|
||||
return f;
|
||||
}
|
||||
|
||||
@@ -588,6 +589,7 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode) const {
|
||||
if (sign == '-') {
|
||||
rv = -rv;
|
||||
}
|
||||
*aErrorCode = NS_OK;
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user