mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Fixup 283ac91a
: Forgotten test for null pointer
This commit is contained in:
parent
5e2b24c2a9
commit
051da4ba25
@ -992,7 +992,7 @@ bool TextMetrics::breakRow(Row & row, int const right_margin) const
|
||||
// - a display inset followed by a end label.
|
||||
need_new_row =
|
||||
par.isNewline(i)
|
||||
|| (inset->display() && i + 1 == end
|
||||
|| (inset && inset->display() && i + 1 == end
|
||||
&& text_->getEndLabel(row.pit()) != END_LABEL_NO_LABEL);
|
||||
++i;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user