summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/xbb.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/xbb.c')
-rw-r--r--Build/source/texk/dvipdfm-x/xbb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/xbb.c b/Build/source/texk/dvipdfm-x/xbb.c
index 63d1fcffae4..597d08e1f01 100644
--- a/Build/source/texk/dvipdfm-x/xbb.c
+++ b/Build/source/texk/dvipdfm-x/xbb.c
@@ -1,5 +1,5 @@
/* This is extractbb, a bounding box extraction program.
- Copyright (C) 2008-2017 by Jin-Hwan Cho and Matthias Franz
+ Copyright (C) 2008-2018 by Jin-Hwan Cho and Matthias Franz
and the dvipdfmx project team.
This program is free software; you can redistribute it and/or modify
@@ -180,7 +180,7 @@ static void write_xbb(char *fname,
fprintf(fp, "%%%%HiResBoundingBox: %f %f %f %f\n",
bbllx_f, bblly_f, bburx_f, bbury_f);
if (pdf_version >= 0) {
- fprintf(fp, "%%%%PDFVersion: 1.%d\n", pdf_version);
+ fprintf(fp, "%%%%PDFVersion: %d.%d\n", pdf_version/10, pdf_version%10);
fprintf(fp, "%%%%Pages: %d\n", pagecount);
}
}