GUI: fix paste not pasting release notes

This commit is contained in:
tildearrow 2022-02-12 20:58:39 -05:00
parent 49d91818bb
commit 1f25e4f467
1 changed files with 10 additions and 0 deletions

View File

@ -234,6 +234,16 @@ bool FurnaceGUI::decodeNote(const char* what, short& note, short& octave) {
octave=0;
return true;
}
if (strcmp(what,"===")==0) {
note=101;
octave=0;
return true;
}
if (strcmp(what,"REL")==0) {
note=102;
octave=0;
return true;
}
for (int i=0; i<180; i++) {
if (strcmp(what,noteNames[i])==0) {
if ((i%12)==0) {