summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-03-27 20:06:16 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-03-27 20:06:16 +0100
commit21898810cf14ff6fedfb47a00704173bf668e49b (patch)
tree0d03206b72665e4fcca8dc86609acf2150bafcf9 /metapost
parentcaef1259af1c843232dfbf5efc65adcf83d67f6f (diff)
downloadcontext-21898810cf14ff6fedfb47a00704173bf668e49b.tar.gz
2021-03-27 19:06:00
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mpxl/mp-mlib.mpxl2
1 files changed, 1 insertions, 1 deletions
diff --git a/metapost/context/base/mpxl/mp-mlib.mpxl b/metapost/context/base/mpxl/mp-mlib.mpxl
index ed3f79be5..753fdff74 100644
--- a/metapost/context/base/mpxl/mp-mlib.mpxl
+++ b/metapost/context/base/mpxl/mp-mlib.mpxl
@@ -1447,7 +1447,7 @@ permanent asgroup ;
pair mfun_pattern_s ; mfun_pattern_s := origin ; % auto scale to fraction of shape (svg)
boolean mfun_pattern_f ; mfun_pattern_f := false ; % anchor or not (normally we do that)
-def withpatternscale primary s = hide (mfun_pattern_s := s ;) enddef ;
+def withpatternscale primary s = hide (mfun_pattern_s := paired s ;) enddef ;
def withpatternfloat primary s = hide (mfun_pattern_f := s ;) enddef ;
primarydef t withpattern p =