X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-interface.cc;h=9e11cfa73a3545b3329c62f03ed22a7aa48585dc;hb=0b544cfb7332615ef809b71b57ab656741311ae1;hp=944618bf5b48a6414c54f6f965e887832715647e;hpb=bb8a0a5387af94dd2702877256334b160575a730;p=lilypond.git diff --git a/lily/spacing-interface.cc b/lily/spacing-interface.cc index 944618bf5b..9e11cfa73a 100644 --- a/lily/spacing-interface.cc +++ b/lily/spacing-interface.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2011 Joe Neeman + Copyright (C) 2007--2014 Joe Neeman LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -55,8 +55,7 @@ Spacing_interface::skylines (Grob *me, Grob *right_col) Drul_array columns (left_col, right_col); - Direction d = LEFT; - do + for (LEFT_and_RIGHT (d)) { for (vsize i = 0; i < items[d].size (); i++) { @@ -88,7 +87,6 @@ Spacing_interface::skylines (Grob *me, Grob *right_col) } } } - while (flip (&d) != LEFT); return skylines; }