pedantic changes

This commit is contained in:
AJ Kelly
2011-05-14 22:59:16 -05:00
parent 87148206a7
commit 250bd08f99
+1 -12
View File
@@ -39,6 +39,7 @@ void ModIcon::Load( RString sMetricsGroup )
this->AddChild( &m_text );
CROP_TEXT_TO_WIDTH.Load( sMetricsGroup, "CropTextToWidth" );
// stop words
STOP_WORDS.Load( sMetricsGroup, "StopWords" );
m_vStopWords.empty();
@@ -51,18 +52,6 @@ void ModIcon::Set( const RString &_sText )
{
RString sText = _sText;
// todo: make these metricable -aj
/*
static const RString sStopWords[] =
{
"1X",
"DEFAULT",
"OVERHEAD",
"OFF",
};
*/
//for( unsigned i=0; i<ARRAYLEN(sStopWords); i++ )
for( unsigned i = 0; i < m_vStopWords.size(); i++ )
if( sText.EqualsNoCase(m_vStopWords[i]) )
sText = "";