]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-squash-engraver.cc
* scm/layout-page-dump.scm (scm): export utility function names,
[lilypond.git] / lily / pitch-squash-engraver.cc
index f6ce236706b2e76db904a8f62440a9b120108a73..65cef28d72fa1fa936694f1db7aed26453bfbb8d 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 #include "staff-symbol-referencer.hh"
 #include "note-head.hh"
@@ -22,9 +22,7 @@ Pitch_squash_engraver::acknowledge_note_head (Grob_info i)
 {
   SCM newpos = get_property ("squashedPosition");
   if (scm_is_number (newpos))
-    {
-      i.grob ()->set_property ("staff-position", newpos);
-    }
+    i.grob ()->set_property ("staff-position", newpos);
 }
 
 Pitch_squash_engraver::Pitch_squash_engraver ()