]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-performer.cc
release: 1.1.43
[lilypond.git] / lily / staff-performer.cc
index 45d47a2e63f6c8918784eaa0d72ab2d96704a211..6628fbeca0b52d482e18c454bbbf532992ccbd20 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c)  1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 #include "staff-performer.hh"
@@ -77,7 +77,7 @@ String
 Staff_performer::new_instrument_str () 
 { 
   // mustn't ask Score for instrument: it will return piano!
-  String str = get_property ("midi_instrument", 0);
+  String str = get_property ("midiInstrument", 0);
   if (!str.length_i ())
     str = get_property ("instrument", 0);
   if (str == instrument_str_)