X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsystem-start-delimiter.cc;h=d4b523c06c63b82094346bc1d13d08af83ae4a4a;hb=77853b782ac17fd7a8e231e3b8803b92af9694c3;hp=815d94e7cf00b2466fd301f127c5284feea25eae;hpb=4bb29573149a0ffa1f881c5e38a0fe68e9e76b67;p=lilypond.git diff --git a/lily/system-start-delimiter.cc b/lily/system-start-delimiter.cc index 815d94e7cf..d4b523c06c 100644 --- a/lily/system-start-delimiter.cc +++ b/lily/system-start-delimiter.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2000--2011 Han-Wen Nienhuys + Copyright (C) 2000--2012 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 @@ -47,10 +47,8 @@ System_start_delimiter::staff_bracket (Grob *me, Real height) * (height / 2 + overlap)); Stencil bracket = Lookup::filled_box (box); - Direction d = DOWN; - do + for (DOWN_and_UP (d)) bracket.add_at_edge (Y_AXIS, d, tips[d], -overlap); - while (flip (&d) != DOWN); bracket = Stencil (box, bracket.expr ()); bracket.translate_axis (-0.8, X_AXIS);