mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: fix paste not pasting release notes
This commit is contained in:
parent
49d91818bb
commit
1f25e4f467
1 changed files with 10 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue