From: Keith OHara Date: Tue, 15 Mar 2011 02:57:32 +0000 (-0700) Subject: MIDI: fix regtest failure X-Git-Tag: release/2.13.55-1~11^2~8 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8b9e7a706fc1cfc98b704d86908112f81ee93a7b;p=lilypond.git MIDI: fix regtest failure commit 27d3e1188 had caused make check to crash --- 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; }