summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfm-x/pdfdoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c
index 2c975080a6c..63033ad7e3d 100644
--- a/Build/source/texk/dvipdfm-x/pdfdoc.c
+++ b/Build/source/texk/dvipdfm-x/pdfdoc.c
@@ -1174,7 +1174,7 @@ pdf_doc_get_page (pdf_file *pf, long page_no, long *count_p,
}
/* New scheme only for XDV files */
- if (medbox && (!is_xdv || PageBox)) {
+ if (medbox && (is_xdv || PageBox)) {
for (i = 4; i--; ) {
double x;
pdf_obj *tmp = pdf_deref_obj(pdf_get_array(medbox, i));