]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-performer.cc
release: 1.0.1
[lilypond.git] / lily / key-performer.cc
index 527cf06cbbf6efcfbbc637179b68c0f8bbebc286..02e80fca2891fe469aec3c8005cb28d41f8a6b75 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Jan Nieuwenhuizen <jan@digicash.com>
+  (c)  1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "key-performer.hh"
@@ -47,8 +47,8 @@ Key_performer::do_try_request (Request* req_l)
   if (key_req_l_)
        return false;
 
-  if (req_l->command())
-       key_req_l_ = req_l->command()->keychange ();
+  if (req_l->access_Command_req ())
+       key_req_l_ = req_l->access_Command_req ()->access_Key_change_req ();
 
   if (key_req_l_)
        return true;