Blob Blame History Raw
From 26b11a3fe34fc3c4e81e17c4fc82a674aa238d97 Mon Sep 17 00:00:00 2001
From: Michael Vrhel <michael.vrhel@artifex.com>
Date: Mon, 16 Dec 2013 08:32:12 -0800
Subject: [PATCH] Fix for goof up in loop index variable.

Fixes bug 694811 and 694848.   Thanks ken for finding this.
---
 base/gdevp14.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/gdevp14.c b/base/gdevp14.c
index ef2a50f..bfbf694 100644
--- a/base/gdevp14.c
+++ b/base/gdevp14.c
@@ -2247,7 +2247,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;
-- 
2.9.3