small changes to clients of string converting APIs

This commit is contained in:
scc@netscape.com
2000-03-26 10:06:21 +00:00
parent 0208585a56
commit a09a9c5b56
53 changed files with 184 additions and 184 deletions

View File

@@ -549,9 +549,9 @@ nsGfxCheckboxControlFrame::CheckStateToString ( CheckState inState, nsString& ou
nsGfxCheckboxControlFrame::CheckState
nsGfxCheckboxControlFrame::StringToCheckState ( const nsString & aStateAsString )
{
if ( aStateAsString == NS_STRING_TRUE )
if ( aStateAsString.Equals(NS_STRING_TRUE) )
return eOn;
else if ( aStateAsString == NS_STRING_FALSE )
else if ( aStateAsString.Equals(NS_STRING_FALSE) )
return eOff;
// not true and not false means mixed