aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c1
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);