summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 20:47:06 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 20:49:29 -0300
commit8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4 (patch)
tree757749cdbd459d5460f893f6cf6116790845cb3b /gui/render.c
parentc9a05d88435e5cc47492b4b62f8312ad8011fd2c (diff)
downloadeeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.gz
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.bz2
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.zip
eeshow/: change file name handling from positional to be extension-driven
This also enables versioning for page layouts. We no longer need the option -P.
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/render.c b/gui/render.c
index 465128d..ec4db2e 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -231,8 +231,8 @@ void render_sheet(struct gui_sheet *sheet)
char *argv[] = { "gui", NULL };
gfx_init(&cro_canvas_ops, 1, argv);
- if (sheet->ctx && sheet->ctx->pl) /* @@@ no pl_render for delta */
- pl_render(sheet->ctx->pl, sheet->hist->sch_ctx.sheets,
+ if (sheet->hist && sheet->hist->pl) /* @@@ no pl_render for delta */
+ pl_render(sheet->hist->pl, sheet->hist->sch_ctx.sheets,
sheet->sch);
sch_render(sheet->sch);
cro_canvas_end(gfx_ctx,