diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-09-07 00:49:01 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-09-07 00:49:01 +0000 |
commit | 7af5b170f7d5b63179d42c76385ddf52bcd849bc (patch) | |
tree | f53cbbeb1cf13c4964155725312ab850d8d0d410 /Build/source/texk/dvipdfm-x/spc_misc.c | |
parent | 503d02cff27401e462aae30e664d19bc2b98058a (diff) |
Update pdfcolorstack support (bug fix) (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@56281 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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/spc_misc.c b/Build/source/texk/dvipdfm-x/spc_misc.c index 9b9c7a7d9bf..c30fbb92003 100644 --- a/Build/source/texk/dvipdfm-x/spc_misc.c +++ b/Build/source/texk/dvipdfm-x/spc_misc.c @@ -95,7 +95,7 @@ pdfcolorstack__init (void *dp) struct spc_stack *sd = dp; int i; - for (i = 0; i < 64; i++) { + for (i = 0; i < PDFCOLORSTACK_MAX_STACK; i++) { sd->stacks[i].page = 0; sd->stacks[i].direct = 0; dpx_stack_init(&sd->stacks[i].stack); @@ -356,7 +356,7 @@ spc_misc_at_begin_page (void) struct spc_stack *sd = &spc_stack; int i; - for (i = 0; i < 64; i++) { + for (i = 0; i < PDFCOLORSTACK_MAX_STACK; i++) { dpx_stack *stk = &sd->stacks[i].stack; if (sd->stacks[i].page) { |