fixing hpux bustage

r=vidur@netscape.com
This commit is contained in:
jdunn@netscape.com
2000-08-23 23:57:00 +00:00
parent fe88bc73a4
commit c539b74f0e
5 changed files with 11 additions and 7 deletions

View File

@@ -140,8 +140,10 @@ PRBool nsFormControlHelper::GetBool(const nsAReadableString& aValue)
void nsFormControlHelper::GetBoolString(const PRBool aValue,
nsAWritableString& aResult)
{
aResult.Assign( aValue ? NS_STRING_TRUE :
NS_STRING_FALSE );
if (aValue)
aResult.Assign(NS_STRING_TRUE);
else
aResult.Assign(NS_STRING_FALSE);
}