From 7fe7f32046423790f550d1d7d6a13fc469af1c22 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 19 Nov 2017 13:40:37 +0100 Subject: Set right fontdesc for \newpara runs (in case we type into them later) --- src/sc_interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3