X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdots.cc;h=a8d6809026f755b4eed7c7c72c3989b4406678a5;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=43c47b77199a4576a7de3890f8011d485e925e84;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/lily/dots.cc b/lily/dots.cc index 43c47b7719..a8d6809026 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--2012 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 = 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); } }