From 8b9e7a706fc1cfc98b704d86908112f81ee93a7b Mon Sep 17 00:00:00 2001 From: Keith OHara Date: Mon, 14 Mar 2011 19:57:32 -0700 Subject: [PATCH] MIDI: fix regtest failure commit 27d3e1188 had caused make check to crash --- lily/staff-performer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/staff-performer.cc b/lily/staff-performer.cc index 35b1746b8a..f98206c7a2 100644 --- a/lily/staff-performer.cc +++ b/lily/staff-performer.cc @@ -111,9 +111,9 @@ Staff_performer::new_audio_staff (string voice) name_ = new Audio_text (Audio_text::TRACK_NAME, context ()->id_string () + ":" + voice); audio_staff->add_audio_item (name_); + announce_element (Audio_element_info (name_, 0)); } announce_element (Audio_element_info (audio_staff, 0)); - announce_element (Audio_element_info (name_, 0)); staff_map_[voice] = audio_staff; return audio_staff; } -- 2.39.5