diff options
author | Thomas White <taw@physics.org> | 2017-11-19 13:40:37 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-11-19 13:40:37 +0100 |
commit | 7fe7f32046423790f550d1d7d6a13fc469af1c22 (patch) | |
tree | a59bd537f90c5c8820105fe922d4a7fb083366fb /src | |
parent | 1b1ad566f65166f9565e2042d60240e93f3e0183 (diff) |
Set right fontdesc for \newpara runs (in case we type into them later)
Diffstat (limited to 'src')
-rw-r--r-- | src/sc_interp.c | 2 |
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); |