prefer standard find() over Find

This commit is contained in:
Glenn Maynard
2005-12-21 08:33:30 +00:00
parent 443e80551f
commit dcd1d8f98e
8 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -128,8 +128,8 @@ void ScreenJukebox::SetSong()
{
CString s = a->sModifiers;
s.MakeLower();
if( s.Find("dark") != -1 ||
s.Find("stealth") != -1 )
if( s.find("dark") != string::npos ||
s.find("stealth") != string::npos )
{
bModsAreOkToShow = false;
break;