From e3189e041b278cc778197dcca174d18ecc67faf0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 13 Nov 2016 17:32:56 +0100 Subject: Refuse to edit inside macro blocks --- src/frame.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/frame.h') diff --git a/src/frame.h b/src/frame.h index 7f9c920..f594d05 100644 --- a/src/frame.h +++ b/src/frame.h @@ -121,9 +121,9 @@ extern double paragraph_height(Paragraph *para); extern void render_paragraph(cairo_t *cr, Paragraph *para, ImageStore *is, enum is_size isz); -extern void add_run(Paragraph *para, SCBlock *scblock, size_t offs_bytes, - size_t len_bytes, PangoFontDescription *fdesc, - double col[4]); +extern void add_run(Paragraph *para, SCBlock *scblock, SCBlock *macro_real, + size_t offs_bytes, size_t len_bytes, + PangoFontDescription *fdesc, double col[4]); extern void add_callback_para(struct frame *fr, SCBlock *scblock, SCBlock *mr, double w, double h, -- cgit v1.2.3