Update tunings to 0ba372f
This commit is contained in:
parent
939b93107b
commit
e6e28a6a44
2 changed files with 3 additions and 3 deletions
2
src/external/tunings/README.txt
vendored
2
src/external/tunings/README.txt
vendored
|
|
@ -1,2 +1,2 @@
|
|||
Based on the Surge tuning library, revision d9660ef, with small modifications
|
||||
Based on the Surge tuning library, revision 0ba372f, with small modifications
|
||||
https://github.com/surge-synthesizer/tuning-library
|
||||
|
|
|
|||
4
src/external/tunings/src/Tunings.cpp
vendored
4
src/external/tunings/src/Tunings.cpp
vendored
|
|
@ -83,7 +83,7 @@ namespace Tunings
|
|||
{
|
||||
lineno ++;
|
||||
|
||||
if (line.empty() || line[0] == '!')
|
||||
if ((state == read_note && line.empty()) || line[0] == '!')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
@ -209,7 +209,7 @@ namespace Tunings
|
|||
while (std::getline(inf, line))
|
||||
{
|
||||
lineno ++;
|
||||
if (line.empty() || line[0] == '!')
|
||||
if (!line.empty() && line[0] == '!')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue