From 4ca585dc0110d55a6d84869e645f1d10fae46013 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 20 Mar 2006 08:39:24 +0000 Subject: [PATCH] npos. --- stepmania/src/SongManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index bcfacc26ec..93dcf1e412 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -1311,7 +1311,7 @@ void SongManager::UpdatePreferredSort() RString sLine; while( file.GetLine(sLine) ) { - bool bSectionDivider = sLine.find("---") != -1; + bool bSectionDivider = sLine.find("---") != RString::npos; if( bSectionDivider ) { if( !vpSongs.empty() )