War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be explicit on boolean operations, especially with ASSERT.
This commit is contained in:
@@ -197,7 +197,7 @@ void ScreenNetSelectBase::UpdateUsers()
|
||||
/** ColorBitmapText ***********************************************************/
|
||||
void ColorBitmapText::SetText( const RString& _sText, const RString& _sAlternateText, int iWrapWidthPixels )
|
||||
{
|
||||
ASSERT( m_pFont );
|
||||
ASSERT( m_pFont != NULL );
|
||||
|
||||
RString sNewText = StringWillUseAlternate(_sText,_sAlternateText) ? _sAlternateText : _sText;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user