aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2018-03-07 13:01:39 +0100
committerThomas White <taw@bitwiz.org.uk>2018-03-07 13:01:39 +0100
commit74ad51de1a6dc74b9c253c254cccfe543d0c69b0 (patch)
treea7ff73a01bc40e1e570dcc8d97edb6258ca43ded /src/sc_interp.c
parent8fb0c2bd7c8308914f8ad2cd052bf247e47efec5 (diff)
Formatting
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index d2db5bf..921bf94 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -1029,10 +1029,13 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin)
maybe_recurse_after(scin, child);
} else if ( strcmp(name, "newpara")==0 ) {
+
struct frame *fr = sc_interp_get_frame(scin);
Paragraph *para = last_open_para(fr);
+
/* Add a dummy run which we can type into */
add_run(para, bl, bl, 0, sc_interp_get_fontdesc(scin), fr->col);
+
set_newline_at_end(para, bl);
close_last_paragraph(fr);