]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/articulations.cc
Doc: simplify example changing default fonts (3027)
[lilypond.git] / lily / articulations.cc
index a015df60632305b5e7b48c789ad6f9c335a2d0d6..90344949656a7d01d9d06e72c2c3ff5e6e196ee4 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2011 Carl Sorensen <c_sorensen@byu.edu>
+  Copyright (C) 2010--2012 Carl Sorensen <c_sorensen@byu.edu>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -38,7 +38,6 @@ articulation_list (vector<Stream_event *> note_events,
                    vector<Stream_event *> articulation_events,
                    char const *articulation_name)
 {
-  vector<Stream_event *> string_events;
   SCM articulations = SCM_EOL;
   vsize j = 0;
 
@@ -81,5 +80,5 @@ articulation_list (vector<Stream_event *> note_events,
                                 articulations);
     }
 
-  return (scm_reverse (articulations));
+  return scm_reverse_x (articulations, SCM_EOL);
 }