This commit is contained in:
Steve Checkoway
2006-06-20 06:48:30 +00:00
parent 8bef98e7b6
commit 5e7ac2deed
+2 -10
View File
@@ -169,13 +169,9 @@ void NoteDataUtil::LoadFromSMNoteDataString( NoteData &out, RString sSMNoteData
// skip past the '}' // skip past the '}'
while( *p ) while( *p )
{ {
if( *p == '}' ) if( *(p++) == '}' )
{
p++;
break; break;
} }
p++;
}
} }
#endif #endif
@@ -193,13 +189,9 @@ void NoteDataUtil::LoadFromSMNoteDataString( NoteData &out, RString sSMNoteData
// skip past the ']' // skip past the ']'
while( *p ) while( *p )
{ {
if( *p == ']' ) if( *(p++) == ']' )
{
p++;
break; break;
} }
p++;
}
} }
/* Optimization: if we pass TAP_EMPTY, NoteData will do a search /* Optimization: if we pass TAP_EMPTY, NoteData will do a search