diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-11-10 19:09:05 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-11-10 19:16:12 +0000 |
commit | d182ddaf5d46dc68d7f266fcb7f4de1ed64b7b56 (patch) | |
tree | ef6088bebe3016fc150075e06a062dfe453a1fe7 /gs/base/gdevpdfi.c | |
parent | 108bf3d9fd2770c1b97a4eabcd4f09dd13c7fe18 (diff) | |
download | ghostpdl-d182ddaf5d46dc68d7f266fcb7f4de1ed64b7b56.tar.gz |
Replace all uses of 'template' with 'templat'.
Using C++ reserved words is bad form, if only because they upset MSVC
when debugging.
Diffstat (limited to 'gs/base/gdevpdfi.c')
-rw-r--r-- | gs/base/gdevpdfi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gs/base/gdevpdfi.c b/gs/base/gdevpdfi.c index 4424545d1..32f424ef7 100644 --- a/gs/base/gdevpdfi.c +++ b/gs/base/gdevpdfi.c @@ -1013,13 +1013,13 @@ use_image_as_pattern(gx_device_pdf *pdev, pdf_resource_t *pres1, s.ctm.ty = pmat->ty; memset(&inst, 0, sizeof(inst)); inst.saved = (gs_state *)&s; /* HACK : will use s.ctm only. */ - inst.template.PaintType = 1; - inst.template.TilingType = 1; - inst.template.BBox.p.x = inst.template.BBox.p.y = 0; - inst.template.BBox.q.x = 1; - inst.template.BBox.q.y = 1; - inst.template.XStep = 2; /* Set 2 times bigger step against artifacts. */ - inst.template.YStep = 2; + inst.templat.PaintType = 1; + inst.templat.TilingType = 1; + inst.templat.BBox.p.x = inst.templat.BBox.p.y = 0; + inst.templat.BBox.q.x = 1; + inst.templat.BBox.q.y = 1; + inst.templat.XStep = 2; /* Set 2 times bigger step against artifacts. */ + inst.templat.YStep = 2; code = (*dev_proc(pdev, dev_spec_op))((gx_device *)pdev, gxdso_pattern_start_accum, &inst, id); if (code >= 0) |