diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-11-04 21:28:54 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-11-04 21:28:54 +0100 |
commit | c22018024f483e1a087a972cc2e297d42d4b0e98 (patch) | |
tree | b59b522b6b8a3f527280f048db48cb93eb65f178 /src/sc_editor.c | |
parent | 0f1f30d27a87232cfecd6ed0c68b91c96561ce87 (diff) |
Restore \slidenumber
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 2f272d3..47218d9 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -1000,7 +1000,7 @@ static void insert_text(char *t, SCEditor *e) return; } add_run(pnew, ad, e->cursor_frame->fontdesc, - e->cursor_frame->col); + e->cursor_frame->col, NULL); wrap_frame(e->cursor_frame, e->pc); @@ -1222,7 +1222,7 @@ static void check_paragraph(struct frame *fr, PangoContext *pc, } scblocks = sc_block_append(scblocks, NULL, NULL, strdup(""), NULL); - add_run(para, scblocks, fr->fontdesc, fr->col); + add_run(para, scblocks, fr->fontdesc, fr->col, NULL); wrap_paragraph(para, pc, fr->w - fr->pad_l - fr->pad_r, 0, 0); } |