mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
When row if empty, set endpos correctly.
This commit is contained in:
parent
4b02748b6d
commit
dbd33f6622
@ -1063,7 +1063,7 @@ Row newRow(TextMetrics const & tm, pit_type pit, pos_type pos, bool is_rtl)
|
||||
void cleanupRow(Row & row, bool at_end)
|
||||
{
|
||||
if (row.empty()) {
|
||||
row.endpos(0);
|
||||
row.endpos(row.pos());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user