]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix ly:score-set-header!, which should not be the same as ly:score-header.
authorNicolas Sceaux <nicolas.sceaux@free.fr>
Wed, 20 Feb 2008 19:09:27 +0000 (20:09 +0100)
committerNicolas Sceaux <nicolas.sceaux@free.fr>
Wed, 20 Feb 2008 19:09:27 +0000 (20:09 +0100)
lily/score-scheme.cc

index 2d546706502c81367caab29d3bf1546aadf04392..083ef65c0698c0889dd69a30db885c1a9c543633 100644 (file)
@@ -72,7 +72,8 @@ LY_DEFINE (ly_score_set_header_x, "ly:score-set-header!",
                   "module");
   
   Score *sc = unsmob_score (score);
-  return sc->get_header ();
+  sc->set_header (module);
+  return SCM_UNSPECIFIED;
 }