Skip to content

Commit

Permalink
Merge pull request #3427 from gregchapman-dev/gregc/single_S_turns
Browse files Browse the repository at this point in the history
iohumdrum.cpp rejects valid single-character turns (e.g. "4aS").   That is good.   I probably suppressed single-letter turns to promote encoding with interval information.    I will probably add a warning when this happens (and maybe make the turn red in the notation to do that.
  • Loading branch information
craigsapp authored Jun 18, 2023
2 parents da70183 + ac0dbc9 commit aa15da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iohumdrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25693,7 +25693,7 @@ void HumdrumInput::addTurn(hum::HTp token, const string &tok, int noteIndex)
}
}

if (turnstart == turnend) {
if (turnstart == -1) {
return;
}
std::string turnstr = tok.substr(turnstart, turnend - turnstart + 1);
Expand Down

0 comments on commit aa15da3

Please sign in to comment.