diff options
author | Thomas White <taw@bitwiz.org.uk> | 2018-02-16 21:13:37 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2018-02-16 21:13:37 +0100 |
commit | 1a0b0833c7eb6ceef377c69f32e2325b3fab8f00 (patch) | |
tree | a9dcbbcd43f73fef772dfbcc64bbb16062213744 /src/sc_editor.c | |
parent | c05574d014e87df5bf3ac52ed7173375f70d7175 (diff) |
Record whether or not macro is editable
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 08ddb46..5cb1b00 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -854,7 +854,7 @@ static void insert_text(char *t, SCEditor *e) return; } add_run(pnew, ad, NULL, NULL, 0, strlen(t), - e->cursor_frame->fontdesc, e->cursor_frame->col); + e->cursor_frame->fontdesc, e->cursor_frame->col, 0); wrap_frame(e->cursor_frame, e->pc); @@ -1076,7 +1076,7 @@ static void check_paragraph(struct frame *fr, PangoContext *pc, } scblocks = sc_block_append(scblocks, NULL, NULL, strdup(""), NULL); - add_run(para, scblocks, NULL, NULL, 0, 0, fr->fontdesc, fr->col); + add_run(para, scblocks, NULL, NULL, 0, 0, fr->fontdesc, fr->col, 0); wrap_paragraph(para, pc, fr->w - fr->pad_l - fr->pad_r, 0, 0); } |