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
+1 -1
View File
@@ -275,7 +275,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, const NameToData_t &mapNa
sData = sData.substr( iOpenBracket+1, iCloseBracket-iOpenBracket-1 );
// if there's a 6 in the description, it's probably part of "6panel" or "6-panel"
if( sData.Find("6") != -1 )
if( sData.find("6") != string::npos )
out.m_StepsType = STEPS_TYPE_DANCE_SOLO;
}