diff options
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfcolor.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index f02fe883f78..b2dd3f2c4b6 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2014-03-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * pdfcolor.c: Use PDF_VERSION_MAX instead of an explicit number. + 2014-03-17 Karl Berry <karl@tug.org> * configure.ac: version 20140317 for TeX Live 2014. diff --git a/Build/source/texk/dvipdfm-x/pdfcolor.c b/Build/source/texk/dvipdfm-x/pdfcolor.c index d6d3de66f17..5d1c8221b64 100644 --- a/Build/source/texk/dvipdfm-x/pdfcolor.c +++ b/Build/source/texk/dvipdfm-x/pdfcolor.c @@ -37,7 +37,7 @@ #include "pdfdev.h" #include "pdfcolor.h" - +#include "pdflimits.h" static int verbose = 0; void @@ -554,7 +554,7 @@ iccp_version_supported (int major, int minor) int pdf_ver; pdf_ver = pdf_get_version(); - if (pdf_ver < 6) { + if (pdf_ver <= PDF_VERSION_MAX) { if (icc_versions[pdf_ver].major < major) return 0; else if (icc_versions[pdf_ver].major == major && |