Fix crash

This commit is contained in:
Matthias Neeracher 2012-08-18 23:58:06 +02:00
parent e50d0dc073
commit 7831732497
2 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -2229,7 +2229,7 @@ std::string VLSong::PrimaryGroove() const
{ {
std::string bestGroove = fProperties[0].fGroove; std::string bestGroove = fProperties[0].fGroove;
for (size_t p=1; p<fProperties.size()-EmptyEnding(); ++p) for (size_t p=1; p<fProperties.size(); ++p)
if (fProperties[p].fGroove != bestGroove) { if (fProperties[p].fGroove != bestGroove) {
// //
// Multiple grooves in song, count them the hard way // Multiple grooves in song, count them the hard way