prefer standard find() over Find

This commit is contained in:
Glenn Maynard
2005-12-21 08:43:44 +00:00
parent dcd1d8f98e
commit 902e2a5701
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ bool DifficultyIcon::Load( CString sPath )
Sprite::Load( sPath );
int iStates = GetNumStates();
bool bWarn = iStates != NUM_DIFFICULTIES && iStates != NUM_DIFFICULTIES*2;
if( sPath.Find("_blank") != -1 )
if( sPath.find("_blank") != string::npos )
bWarn = false;
if( bWarn )
{