summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/pdfdoc.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-29 04:43:56 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-29 04:43:56 +0000
commiteab42d1eec7c5a1a356ca867b1f629d7fe97c543 (patch)
tree01b73d6c63afd24336082fc3d1f2189419575863 /Build/source/texk/dvipdfm-x/pdfdoc.c
parent30274123203d7d0e1813438dca96e6a0b6447613 (diff)
texk/dvipdfm-x: patches by S. Hirata.
git-svn-id: svn://tug.org/texlive/trunk@39229 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, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c
index af60d898f98..ecda8351ff3 100644
--- a/Build/source/texk/dvipdfm-x/pdfdoc.c
+++ b/Build/source/texk/dvipdfm-x/pdfdoc.c
@@ -2470,14 +2470,14 @@ static char *doccreator = NULL; /* Ugh */
void
pdf_open_document (const char *filename,
- int do_encryption,
+ int enable_encrypt, int enable_objstm,
double media_width, double media_height,
double annot_grow_amount, int bookmark_open_depth,
int check_gotos)
{
pdf_doc *p = &pdoc;
- pdf_out_init(filename, do_encryption);
+ pdf_out_init(filename, enable_encrypt, enable_objstm);
pdf_doc_init_catalog(p);
@@ -2505,7 +2505,7 @@ pdf_open_document (const char *filename,
pdf_doc_set_bgcolor(NULL);
- if (do_encryption) {
+ if (enable_encrypt) {
pdf_obj *encrypt = pdf_encrypt_obj();
pdf_set_encrypt(encrypt);
pdf_release_obj(encrypt);