summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 05:38:19 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 05:38:19 -0300
commitc149b323c301e4af89e908cc60285f7c837de73a (patch)
tree21fc42a17e48337fbb1dcc46bd3b0e6fce7d688f /gui/render.c
parent9fe255f4aceb3ac5f5b0915d2a314b25d0e00863 (diff)
downloadeeshow-c149b323c301e4af89e908cc60285f7c837de73a.tar.gz
eeshow-c149b323c301e4af89e908cc60285f7c837de73a.tar.bz2
eeshow-c149b323c301e4af89e908cc60285f7c837de73a.zip
eeshow/: support format symbols %%, %N, %S, and %T in page layout
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/render.c b/gui/render.c
index 51dbd8e..d1efd05 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -232,7 +232,8 @@ void render_sheet(struct gui_sheet *sheet)
gfx_init(&cro_canvas_ops, 1, argv);
if (sheet->ctx->pl)
- pl_render(sheet->ctx->pl, sheet->sch->w, sheet->sch->h);
+ pl_render(sheet->ctx->pl, sheet->hist->sch_ctx.sheets,
+ sheet->sch);
sch_render(sheet->sch);
cro_canvas_end(gfx_ctx,
&sheet->w, &sheet->h, &sheet->xmin, &sheet->ymin);