/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2008--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
+ Copyright (C) 2008--2012 Han-Wen Nienhuys <hanwen@lilypond.org>
LilyPond is free software: you can redistribute it and/or modify
{
if (!line)
return;
- Direction d = LEFT;
- do
+
+ for (LEFT_and_RIGHT (d))
{
if ((d == LEFT && !line->get_bound (LEFT))
|| (end && d == RIGHT && !line->get_bound (RIGHT)))
line->set_bound (d, bound);
}
}
- while (flip (&d) != LEFT);
}
void