aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-19 08:46:14 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-19 08:46:14 +0200
commitde8ffb696a1dcc23f49bc63ea216f5f818172d33 (patch)
tree7ab2e2e66735adb5e377bdc6bcd9dadf092c0903 /src/sc_editor.c
parent73706985a1ea4ce55deaf89332288f18831b5e26 (diff)
Get rid of remaining rscblock/rbl/mrb stuff
Good riddance.
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 0431b7b..0bf2dc2 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -999,7 +999,7 @@ static void insert_text(char *t, SCEditor *e)
fprintf(stderr, _("Failed to insert paragraph\n"));
return;
}
- add_run(pnew, ad, ad, e->cursor_frame->fontdesc,
+ add_run(pnew, ad, e->cursor_frame->fontdesc,
e->cursor_frame->col);
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, scblocks, fr->fontdesc, fr->col);
+ add_run(para, scblocks, fr->fontdesc, fr->col);
wrap_paragraph(para, pc, fr->w - fr->pad_l - fr->pad_r, 0, 0);
}