summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mlib-cnt.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-10-28 20:03:50 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-10-28 20:03:50 +0100
commitf58a2cb5d22c5931581274db1f0ec85ac903b747 (patch)
treeba324713b8c0f2ee9465238d3cf867de3fb41dc5 /tex/context/base/mkiv/mlib-cnt.lua
parent24f6f7de245bdff10f21984a9a3c6af3d31fa1f1 (diff)
downloadcontext-f58a2cb5d22c5931581274db1f0ec85ac903b747.tar.gz
2019-10-28 18:22:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-cnt.lua')
-rw-r--r--tex/context/base/mkiv/mlib-cnt.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/mlib-cnt.lua b/tex/context/base/mkiv/mlib-cnt.lua
index 16625befb..adcaf9f94 100644
--- a/tex/context/base/mkiv/mlib-cnt.lua
+++ b/tex/context/base/mkiv/mlib-cnt.lua
@@ -313,12 +313,12 @@ function mp.lmt_contours_start()
for i=1,nofvalues do
colors[i] = { fcolor(i) }
end
-if attributes.colors.model == "cmyk" then
- for i=1,#colors do
- local c = colors[i]
- colors[i] = { 1 - c[1], 1 - c[2], 1 - c[3], 0 }
- end
-end
+ if attributes.colors.model == "cmyk" then
+ for i=1,#colors do
+ local c = colors[i]
+ colors[i] = { 1 - c[1], 1 - c[2], 1 - c[3], 0 }
+ end
+ end
return colors, fcolor
end
end