X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdots.cc;h=b7f787bc022f0e9c1af1428ba9b1d645abd2ae39;hb=8e2eaf4959bec63a1128a444591a540f4f1e2937;hp=7993308ae0b3399c57cfde28642d5488a515d932;hpb=4a401ca1c60f428daa242dbdd102fdb3f327ebfb;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); } }