prefer standard find() over Find

This commit is contained in:
Glenn Maynard
2005-12-21 08:27:00 +00:00
parent 8f4496685e
commit 443e80551f
6 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -897,7 +897,7 @@ RageSoundParams::StopMode_t RageSound::GetStopMode() const
if( m_Param.StopMode != RageSoundParams::M_AUTO )
return m_Param.StopMode;
if( m_sFilePath.Find("loop") != -1 )
if( m_sFilePath.find("loop") != string::npos )
return RageSoundParams::M_LOOP;
else
return RageSoundParams::M_STOP;