]> git.cworth.org Git - scherzo/blobdiff - score.c
Fix to resize staff when ledger lines are no longer needed
[scherzo] / score.c
diff --git a/score.c b/score.c
index 4e2a5f3b62667a5c91c96d8486394938458c1975..5c0e0b023545b15c1a5f48c69c94fd6ca5aaa026 100644 (file)
--- a/score.c
+++ b/score.c
@@ -704,6 +704,9 @@ score_staff_remove_notes (score_staff_t *staff)
     talloc_free (staff->notes);
     staff->notes = NULL;
     staff->num_notes = 0;
+
+    staff->upper_ledger_lines = 0;
+    staff->lower_ledger_lines = 0;
 }
 
 void