summaryrefslogtreecommitdiff
path: root/gs/base
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2012-02-22 09:40:31 -0800
committerChris Liddell <chris.liddell@artifex.com>2012-03-15 11:54:23 +0000
commit9e526e8d747a1f7bdb00093174af7d725b255918 (patch)
tree8300f24f7ac51631246fd7ff74fef0c7f23356e1 /gs/base
parent5cab320a72bdcb66820e7a64446c80385564551d (diff)
Typo fix in non color managed transform
Thanks to Peter Skarpetis for finding this.
Diffstat (limited to 'gs/base')
-rw-r--r--gs/base/gxblend1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gxblend1.c b/gs/base/gxblend1.c
index e016f3151..9d092c1e9 100644
--- a/gs/base/gxblend1.c
+++ b/gs/base/gxblend1.c
@@ -559,7 +559,7 @@ pdf14_rgb_cs_to_cmyk_cm(gx_device * dev, const gs_imager_state *pis,
color_rgb_to_cmyk(r, g, b, pis, out, dev->memory);
else {
frac c = frac_1 - r, m = frac_1 - g, y = frac_1 - b;
- frac k = min(c, min(m, g));
+ frac k = min(c, min(m, y));
out[0] = c - k;
out[1] = m - k;