The specific handling for (0.0 <= ellip < 1) doesn't support multi-line cases.
One of the main reasons is that we haven't had the chance to define the wanted
behavior for multi-line.
This is a temporary hack to fix a segfault. The behavior is still undefined,
though.
Fixes T3885.
Currently, we assume that ellipsis is at the beginning of the
paragraph. This is a safe assumption for now, as other usages
seem a bit unnatural.*/
+ // FIXME: revisit this for multi-line.
{
double ellip;
ellip = it->format->ellipsis;
- if ((0 <= ellip) && (ellip < 1.0))
+ if ((0 <= ellip) && (ellip < 1.0) && c->line_no == 0)
_layout_par_ellipsis_items(c, ellip);
}