Skip to content

Commit

Permalink
fix: gp5 voltas import
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekirin committed Sep 30, 2024
1 parent ace8209 commit 1e6a445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/importexport/guitarpro/internal/importgtp-gp5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ bool GuitarPro5::read(IODevice* io)
}
if (barBits & SCORE_REPEAT_END) { // number of repeats
bar.repeatFlags = bar.repeatFlags | mu::engraving::Repeat::END;
bar.repeats = readUInt8();
bar.repeats = readUInt8() + 1;
}
if (barBits & SCORE_MARKER) {
bar.marker = readDelphiString(); // new section?
Expand Down
2 changes: 1 addition & 1 deletion src/importexport/guitarpro/tests/data/volta.gp5-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@
</voice>
</Measure>
<Measure>
<endRepeat>2</endRepeat>
<endRepeat>3</endRepeat>
<voice>
<Spanner type="Volta">
<Volta>
Expand Down

0 comments on commit 1e6a445

Please sign in to comment.