summaryrefslogtreecommitdiff
path: root/test/x11pdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/x11pdf.c')
-rw-r--r--test/x11pdf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/x11pdf.c b/test/x11pdf.c
index c2f546ab..02aeb8c0 100644
--- a/test/x11pdf.c
+++ b/test/x11pdf.c
@@ -374,6 +374,13 @@ int main(int argc, char **argv)
pdfopen(filename, password);
showpage();
+#ifdef RUNFAST
+ while (pageno < count)
+ {
+ pageno ++;
+ showpage();
+ }
+#else
while (1)
{
int len;
@@ -395,6 +402,7 @@ int main(int argc, char **argv)
break;
}
}
+#endif
pdf_closepdf(xref);