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
@@ -51,7 +51,7 @@ bool CourseLoaderCRS::LoadFromMsd( const CString &sPath, const MsdFile &msd, Cou
{
CString str = sParams[1];
str.MakeLower();
if( str.Find("yes") != -1 )
if( str.find("yes") != string::npos )
out.m_bRepeat = true;
}