diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-30 05:25:52 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-30 05:25:52 +0000 |
commit | 632abcdde570001e5f8e7509d630749e73cf2732 (patch) | |
tree | 4aea8023ed33dcfa7fe49a4b1705a2b5fb009bba /Build/source/texk/dvipdfm-x/spc_misc.c | |
parent | 4b54d57009fe18e922c56ba0e404a23d443f6ddc (diff) |
texk/dvipdfm-x: patches by S. Hirata
git-svn-id: svn://tug.org/texlive/trunk@39238 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/spc_misc.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/spc_misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/spc_misc.c b/Build/source/texk/dvipdfm-x/spc_misc.c index 0b5355145f3..7bdf80ec4e6 100644 --- a/Build/source/texk/dvipdfm-x/spc_misc.c +++ b/Build/source/texk/dvipdfm-x/spc_misc.c @@ -52,6 +52,7 @@ spc_handler_postscriptbox (struct spc_env *spe, struct spc_arg *ap) { int form_id, len; transform_info ti; + load_options options = {1, 0, NULL}; char filename[256], *fullname; char buf[512]; FILE *fp; @@ -109,7 +110,7 @@ spc_handler_postscriptbox (struct spc_env *spe, struct spc_arg *ap) } MFCLOSE(fp); - form_id = pdf_ximage_findresource(filename, 0, NULL); + form_id = pdf_ximage_findresource(filename, options); if (form_id < 0) { spc_warn(spe, "Failed to load image file: %s", filename); return -1; |