1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-22 18:21:44 +02:00

eeshow/main.c (main): draw page layout also in non-interactive mode

This commit is contained in:
Werner Almesberger 2016-08-22 07:18:47 -03:00
parent 7e6d35760e
commit af626042f8

View File

@ -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();