X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdots.cc;h=b7f787bc022f0e9c1af1428ba9b1d645abd2ae39;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=7993308ae0b3399c57cfde28642d5488a515d932;hpb=f93e4199873c91ae32f0e84a610d14853dc379df;p=lilypond.git diff --git a/lily/dots.cc b/lily/dots.cc index 7993308ae0..b7f787bc02 100644 --- a/lily/dots.cc +++ b/lily/dots.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys 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 = 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); } }