Skip to content

Commit 35108ec

Browse files
cbjeukendrupJojo-Schmitz
authored andcommitted
Fix theoretical bug in Score::searchSystem
Probably wouldn't ever cause problems in practice, but still... Backport of musescore#27480, commit 1
1 parent 002ca83 commit 35108ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmscore/score.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ QList<System*> Score::searchSystem(const QPointF& pos, const System* preferredSy
942942
}
943943
if (y < y2) {
944944
systems.append(s);
945-
for (int iii = i+1; ii < n; ++iii) {
945+
for (int iii = i+1; iii < n; ++iii) {
946946
if (sl->at(iii)->y() != s->y())
947947
break;
948948
systems.append(sl->at(iii));

0 commit comments

Comments
 (0)