From d38e3c6abf6d5aeb287ec1d1262015d8b4a81198 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 29 Sep 2013 17:33:40 -0700 Subject: [PATCH] Fix to resize staff when ledger lines are no longer needed This restores the original behavior which was inadvertently lost in some recet code refactoring. --- score.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/score.c b/score.c index 4e2a5f3..5c0e0b0 100644 --- 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 -- 2.43.0