pedantic changes
This commit is contained in:
+1
-12
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user