find, size

This commit is contained in:
Glenn Maynard
2005-12-21 09:00:54 +00:00
parent a89a488251
commit 40946423be
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ bool SMPackageUtil::SetPref( RString name, bool val )
* songs and note skins, this is the first three. */
RString SMPackageUtil::GetPackageDirectory(RString path)
{
if( path.Find("CVS") != -1 )
if( path.find("CVS") != string::npos )
return ""; // skip
vector<RString> Parts;