stl-ize some stuff

This commit is contained in:
Glenn Maynard
2003-01-03 05:29:45 +00:00
parent 71d48b3d62
commit f4dbed8221
11 changed files with 43 additions and 43 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ void ThemeManager::GetAllThemeNames( CStringArray& AddTo )
// strip out the folder called "CVS"
for( CStringArray::iterator i=AddTo.begin(); i != AddTo.end(); ++i )
{
if( !stricmp(*i,"cvs") ) {
if( !i->CompareNoCase("cvs") ) {
AddTo.erase(i, i+1);
break;
}
@@ -84,7 +84,7 @@ bool ThemeManager::DoesThemeExist( CString sThemeName )
GetAllThemeNames( asThemeNames );
for( unsigned i=0; i<asThemeNames.size(); i++ )
{
if( 0==stricmp(sThemeName, asThemeNames[i]) )
if( !sThemeName.CompareNoCase(asThemeNames[i]) )
return true;
}
return false;