summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-11 15:16:51 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-11 15:16:51 +0200
commit74326d3975653dbc32ce3cd8b431dba40917e7dc (patch)
treead16fccb5e232ebcb1e14f0cf3287dc5cc15bcbc /metapost
parent3691e25e611249750a260ec00aa139ba82a37bca (diff)
downloadcontext-74326d3975653dbc32ce3cd8b431dba40917e7dc.tar.gz
2016-07-11 13:48:00
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mpiv/mp-mlib.mpiv5
1 files changed, 2 insertions, 3 deletions
diff --git a/metapost/context/base/mpiv/mp-mlib.mpiv b/metapost/context/base/mpiv/mp-mlib.mpiv
index 689995df7..8b8d21c14 100644
--- a/metapost/context/base/mpiv/mp-mlib.mpiv
+++ b/metapost/context/base/mpiv/mp-mlib.mpiv
@@ -54,7 +54,6 @@ vardef transparency_alternative_to_number(expr name) =
fi
enddef ;
-
def namedcolor (expr n) =
1
withprescript "sp_type=named"
@@ -77,10 +76,10 @@ enddef ;
% withprescript "sp_value=" & value
% enddef ;
-def spotcolor(expr n, v) =
+def spotcolor(expr name, v) =
1
withprescript "sp_type=spot"
- withprescript "sp_name=" & n
+ withprescript "sp_name=" & name
withprescript "sp_value=" & colordecimals v
enddef ;