Consistent insensitive string comparisons.
This seems to reduce the need for a #define, but I need someone on the Windows side to check.
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ void ModIcon::Set( const RString &_sText )
|
||||
};
|
||||
|
||||
for( unsigned i=0; i<ARRAYLEN(sStopWords); i++ )
|
||||
if( 0==stricmp(sText,sStopWords[i]) )
|
||||
if( sText.EqualsNoCase(sStopWords[i]) )
|
||||
sText = "";
|
||||
|
||||
sText.Replace( " ", "\n" );
|
||||
|
||||
Reference in New Issue
Block a user