fix build failure

This commit is contained in:
tildearrow 2022-05-15 01:55:25 -05:00
parent c5786b61fb
commit f63c072517
2 changed files with 9 additions and 17 deletions

View file

@ -885,6 +885,7 @@ bool DivEngine::addSystem(DivSystem which) {
return true;
}
// TODO: maybe issue with subsongs?
bool DivEngine::removeSystem(int index, bool preserveOrder) {
if (song.systemLen<=1) {
lastError="cannot remove the last one";