X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flyric-hyphen.cc;h=33c4d8d3fe0479c4dff5c44f7592d66d63061ed3;hb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;hp=21ec770ea13d43c2a2f5ccba4ee6491f1f785a74;hpb=233fb6a8b3b6e31de1841641dbbd4c4f43423151;p=lilypond.git diff --git a/lily/lyric-hyphen.cc b/lily/lyric-hyphen.cc index 21ec770ea1..33c4d8d3fe 100644 --- a/lily/lyric-hyphen.cc +++ b/lily/lyric-hyphen.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2003--2012 Han-Wen Nienhuys + Copyright (C) 2003--2014 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 @@ -49,9 +49,7 @@ Lyric_hyphen::print (SCM smob) Interval span_points; for (LEFT_and_RIGHT (d)) { - Interval iv = bounds[d]->break_status_dir () - ? Axis_group_interface::generic_bound_extent (bounds[d], common, X_AXIS) - : robust_relative_extent (bounds[d], common, X_AXIS); + Interval iv = Axis_group_interface::generic_bound_extent (bounds[d], common, X_AXIS); span_points[d] = iv.is_empty () ? bounds[d]->relative_coordinate (common, X_AXIS)