]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dots.cc
Run grand replace for 2015.
[lilypond.git] / lily / dots.cc
index 7993308ae0b3399c57cfde28642d5488a515d932..a8d6809026f755b4eed7c7c72c3989b4406678a5 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ MAKE_SCHEME_CALLBACK (Dots, print, 1);
 SCM
 Dots::print (SCM d)
 {
-  Grob *sc = unsmob_grob (d);
+  Grob *sc = Grob::unsmob (d);
   Stencil mol;
 
   SCM c = sc->get_property ("dot-count");
@@ -62,7 +62,6 @@ Dots::print (SCM d)
 
       for (int i = scm_to_int (c); i--;)
         {
-          d.translate_axis (2 * dw, X_AXIS);
           mol.add_at_edge (X_AXIS, RIGHT, d, dw);
         }
     }