summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-12 16:26:23 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-12 16:26:23 +0200
commitb975f1b82a061db61124d1cf0cd55ab60c22dc8e (patch)
tree7694c8c6879ba594464f28a93d9d725eb78f2df7 /apps
parent6cf0e12ecdaa54bfc024d056445919da0f4198bb (diff)
downloadmupdf-b975f1b82a061db61124d1cf0cd55ab60c22dc8e.tar.xz
Add begin_page and end_page calls to device interface.
Diffstat (limited to 'apps')
-rw-r--r--apps/mudraw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c
index 04db84e9..e94b692d 100644
--- a/apps/mudraw.c
+++ b/apps/mudraw.c
@@ -400,12 +400,10 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum)
fz_try(ctx)
{
dev = fz_new_trace_device(ctx);
- fz_printf(out, "<page number=\"%d\">\n", pagenum);
if (list)
fz_run_display_list(list, dev, &fz_identity, &fz_infinite_rect, &cookie);
else
fz_run_page(doc, page, dev, &fz_identity, &cookie);
- fz_printf(out, "</page>\n");
}
fz_always(ctx)
{