Skip to content

Commit

Permalink
Merge branch 'RehearsalMarkers2Midi' of https://github.com/heavy-mati…
Browse files Browse the repository at this point in the history
…ll/MuseScore into RehearsalMarkers2Midi
  • Loading branch information
heavy-matill committed Jan 26, 2025
2 parents 1808469 + 569c0b8 commit 1c1e999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/importexport/midi/internal/midiexport/exportmidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ bool ExportMidi::write(QIODevice* device, bool midiExpandRepeats, bool exportRPN
RehearsalMark* r = toRehearsalMark(e);
muse::ByteArray rText = r->plainText().toUtf8();
size_t len = rText.size() + 1;
unsigned char *data = new unsigned char[len];
unsigned char* data = new unsigned char[len];

memcpy(data, rText.constData(), len);

Expand Down

0 comments on commit 1c1e999

Please sign in to comment.