summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-12-16 08:32:12 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2013-12-16 08:32:12 -0800
commitabd38464f9b058502c9491873ff7f01f00c406d7 (patch)
treed9bcbc15049911d6b7bc1e3bf2dcbe1a6d049fd1
parent8e2f00f15c988d75a4182ecdcdc1a82b4686ef92 (diff)
Fix for goof up in loop index variable.
Fixes bug 694811 and 694848. Thanks ken for finding this.
-rw-r--r--gs/base/gdevp14.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gdevp14.c b/gs/base/gdevp14.c
index 97fb04beb..39e8e224e 100644
--- a/gs/base/gdevp14.c
+++ b/gs/base/gdevp14.c
@@ -2408,7 +2408,7 @@ pdf14_copy_alpha_color(gx_device * dev, const byte * data, int data_x,
if (overprint) {
if (blendspot) {
/* Overprint simulation of spot colorants */
- for (k = 0; k < num_comp; ++i) {
+ for (k = 0; k < num_comp; ++k) {
int temp =
(255 - dst_ptr[k * planestride]) * dst[k];
temp = temp >> 8;