cleanup (prefer size() over GetLength)

This commit is contained in:
Glenn Maynard
2005-12-21 07:50:14 +00:00
parent 5e2806c5f7
commit 39b07e55b3
11 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, const NameToData_t &mapNa
const CString &sNoteData = it->second;
vector<TapNote> vTapNotes;
for( int i=0; i+1<sNoteData.GetLength(); i+=2 )
for( size_t i=0; i+1<sNoteData.size(); i+=2 )
{
CString sNoteId = sNoteData.substr(i,2);
if( sNoteId != "00" )