Index: eps.c =================================================================== --- eps.c (revision 34762) +++ eps.c (revision 34763) @@ -303,7 +303,7 @@ } ctx.view = *bounds; - rnd_expose_main(&eps_hid, &ctx, xform); + rnd_app.expose_main(&eps_hid, &ctx, xform); eps_print_footer(f); Index: ps.c =================================================================== --- ps.c (revision 34762) +++ ps.c (revision 34763) @@ -588,14 +588,14 @@ fprintf(the_file, "/tocp { /y y 12 sub def 90 y moveto rightshow } bind def\n"); global.doing_toc = 1; - global.pagecount = 1; /* 'pagecount' is modified by rnd_expose_main() call */ - rnd_expose_main(&ps_hid, &global.exps, xform); + global.pagecount = 1; /* 'pagecount' is modified by rnd_app.expose_main() call */ + rnd_app.expose_main(&ps_hid, &global.exps, xform); } global.pagecount = 1; /* Reset 'pagecount' if single file */ global.doing_toc = 0; ps_set_layer_group(rnd_render, -1, NULL, -1, -1, 0, -1, NULL); /* reset static vars */ - rnd_expose_main(&ps_hid, &global.exps, xform); + rnd_app.expose_main(&ps_hid, &global.exps, xform); if (the_file) fprintf(the_file, "showpage\n");