summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/spc_dvips.c
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-06-18 14:25:06 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-06-18 14:25:06 +0000
commitf7f8cd161b59236731e0d93c3accd3d57f9f879d (patch)
tree2ed0a8ae87ffe52db7bfe296f1e78309a718e166 /Build/source/texk/xdvipdfmx/src/spc_dvips.c
parent2b12869a6eda47de8d80246a0cfe2a45ef04fdeb (diff)
merged recent DVIPDFMx patches into xdvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@8831 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/spc_dvips.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/spc_dvips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/spc_dvips.c b/Build/source/texk/xdvipdfmx/src/spc_dvips.c
index 04cc3c1b2e3..435551079b3 100644
--- a/Build/source/texk/xdvipdfmx/src/spc_dvips.c
+++ b/Build/source/texk/xdvipdfmx/src/spc_dvips.c
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/spc_dvips.c,v 1.10 2008/02/13 20:22:21 matthias Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/spc_dvips.c,v 1.11 2008/05/29 13:43:51 chofchof Exp $
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
@@ -162,7 +162,7 @@ spc_handler_ps_file (struct spc_env *spe, struct spc_arg *args)
return -1;
}
- form_id = pdf_ximage_findresource(filename, 1);
+ form_id = pdf_ximage_findresource(filename, 1, NULL);
if (form_id < 0) {
spc_warn(spe, "Failed to read image file: %s", filename);
RELEASE(filename);
@@ -195,7 +195,7 @@ spc_handler_ps_plotfile (struct spc_env *spe, struct spc_arg *args)
return -1;
}
- form_id = pdf_ximage_findresource(filename, 1);
+ form_id = pdf_ximage_findresource(filename, 1, NULL);
if (form_id < 0) {
spc_warn(spe, "Could not open PS file: %s", filename);
error = -1;
@@ -643,7 +643,7 @@ spc_handler_ps_tricks_render (struct spc_env *spe, struct spc_arg *args)
return error;
}
- form_id = pdf_ximage_findresource(gs_out, 1/*, 0*/);
+ form_id = pdf_ximage_findresource(gs_out, 1, NULL);
if (form_id < 0) {
spc_warn(spe, "Failed to read converted PSTricks image file.");
RELEASE(gs_in);