summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/pdfdoc.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-08-10 13:02:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-08-10 13:02:06 +0000
commit0d1dcea12f68a273faa21a51057c75738dca9428 (patch)
treeec61d62c596ea7938b90bceefd8d41fb0d56cb6c /Build/source/texk/dvipdfm-x/pdfdoc.c
parent9a65ae034683ca1b3fea9021eb9a13a2fbdcacb2 (diff)
dvipdfm-x: Reduce diffs between dvipdfmx and xdvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@31407 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfdoc.c')
-rw-r--r--Build/source/texk/dvipdfm-x/pdfdoc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c
index 80c0d32881c..48b2ad0b4e7 100644
--- a/Build/source/texk/dvipdfm-x/pdfdoc.c
+++ b/Build/source/texk/dvipdfm-x/pdfdoc.c
@@ -46,6 +46,8 @@
#include "pdfencrypt.h"
+#include "dvipdfmx.h"
+
#include "pdfdev.h"
#include "pdfdraw.h"
#include "pdfcolor.h"
@@ -531,8 +533,8 @@ pdf_doc_close_docinfo (pdf_doc *p)
}
}
- banner = NEW(strlen(PACKAGE)+strlen(VERSION)+4, char);
- sprintf(banner, "%s (%s)", PACKAGE, VERSION);
+ banner = NEW(strlen(my_name)+strlen(VERSION)+4, char);
+ sprintf(banner, "%s (%s)", my_name, VERSION);
pdf_add_dict(docinfo,
pdf_new_name("Producer"),
pdf_new_string(banner, strlen(banner)));