diff options
author | Thomas White <taw@physics.org> | 2018-03-27 23:19:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-27 23:19:08 +0200 |
commit | 82126f1cc19ca94f4d5596ee22de007b6a999efa (patch) | |
tree | 27d92186e1e00f95249e5dcaf534d650dd8900d4 /src/frame.c | |
parent | 48093c36f3c37574059028bf6995f84a5d9b14b2 (diff) |
Set newline when splitting text paragraph
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 5793e97..b87a7c3 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1740,6 +1740,7 @@ static SCBlock *split_text_paragraph(struct frame *fr, int pn, size_t pos, /* Add a \newpara after the end of the first paragraph's SC */ nnp = sc_block_append(rr->rscblock, strdup("newpara"), NULL, NULL, NULL); + set_newline_at_end(pnew, get_newline_at_end(para)); set_newline_at_end(para, nnp); wrap_paragraph(para, pc, fr->w - fr->pad_l - fr->pad_r, 0, 0); |