aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-19 13:40:37 +0100
committerThomas White <taw@physics.org>2017-11-19 13:40:37 +0100
commit7fe7f32046423790f550d1d7d6a13fc469af1c22 (patch)
treea59bd537f90c5c8820105fe922d4a7fb083366fb
parent1b1ad566f65166f9565e2042d60240e93f3e0183 (diff)
Set right fontdesc for \newpara runs (in case we type into them later)
-rw-r--r--src/sc_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 93a23d4..fd62c46 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -983,7 +983,7 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin)
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, NULL, 0, 0, fr->fontdesc, fr->col);
+ add_run(para, bl, NULL, 0, 0, sc_interp_get_fontdesc(scin), fr->col);
set_newline_at_end(para, bl);
close_last_paragraph(fr);