summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 07:18:47 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 07:18:47 -0300
commit649eaad01a238f4cb29977e85619524c39ce47b8 (patch)
tree076dd380bb31ea9d7903b1527a1e2a88b7206e64 /main.c
parentc7d337b49243ef9499da773db762a053ecd378af (diff)
downloadeeshow-649eaad01a238f4cb29977e85619524c39ce47b8.tar.gz
eeshow-649eaad01a238f4cb29977e85619524c39ce47b8.tar.bz2
eeshow-649eaad01a238f4cb29977e85619524c39ce47b8.zip
eeshow/main.c (main): draw page layout also in non-interactive mode
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 61807ff..b31e7b9 100644
--- a/main.c
+++ b/main.c
@@ -285,11 +285,15 @@ found:
for (sheet = sch_ctx.sheets; sheet; sheet = sheet->next) {
gfx_sheet_name(sheet->title);
sch_render(sheet);
+ if (pl)
+ pl_render(pl, sch_ctx.sheets, sheet);
if (sheet->next)
gfx_new_sheet();
}
} else {
sch_render(sch_ctx.sheets);
+ if (pl)
+ pl_render(pl, sch_ctx.sheets, sch_ctx.sheets);
}
gfx_end();