X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-interface.cc;h=27c99bb15933b06d8279cdf434e937ac6c30ad4b;hb=6763499909fb2d50839226aca25c0dea0801f8ae;hp=944618bf5b48a6414c54f6f965e887832715647e;hpb=4bb29573149a0ffa1f881c5e38a0fe68e9e76b67;p=lilypond.git diff --git a/lily/spacing-interface.cc b/lily/spacing-interface.cc index 944618bf5b..27c99bb159 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--2012 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; }