diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-07-22 02:57:51 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-07-22 02:57:51 +0000 |
commit | 082de82ce7450ffc50aceeab9f44d6b1469e5f3d (patch) | |
tree | 19895ffb0ca0ea6f8fa13a415efc16878a7358f6 /Build/source | |
parent | 34d64f4a6a5816f675e058dfb954a88599506f2f (diff) |
dvipdfm-x: Fix a bug introduced by me yesterday. Thanks Y. Terada.
git-svn-id: svn://tug.org/texlive/trunk@37922 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/spc_pdfm.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 3d87b6a8869..e6c8225acf6 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2015-07-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * spc_pdfm.c: Fix a bug. Forgot to initialize PageBox. Thanks Y. Terada. + 2015-07-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * pdfdoc.c, pdfobj.h, pdfximage.c, spc_util.c, xbb.c: Support diff --git a/Build/source/texk/dvipdfm-x/spc_pdfm.c b/Build/source/texk/dvipdfm-x/spc_pdfm.c index 572d170adc6..a642bf49ca1 100644 --- a/Build/source/texk/dvipdfm-x/spc_pdfm.c +++ b/Build/source/texk/dvipdfm-x/spc_pdfm.c @@ -994,6 +994,11 @@ spc_handler_pdfm_image (struct spc_env *spe, struct spc_arg *args) transform_info ti; long page_no; +/* + Initialize the PageBox as the default value +*/ + PageBox = 1; + skip_white(&args->curptr, args->endptr); if (args->curptr[0] == '@') { ident = parse_opt_ident(&args->curptr, args->endptr); |