From 2146c5714b53b92df35551a989cbe1db7b290829 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Fri, 26 Aug 2016 16:29:15 +0200 Subject: 2016-08-26 15:40:00 --- metapost/context/base/mpiv/mp-shap.mpiv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'metapost') diff --git a/metapost/context/base/mpiv/mp-shap.mpiv b/metapost/context/base/mpiv/mp-shap.mpiv index 3e885e585..a511ef375 100644 --- a/metapost/context/base/mpiv/mp-shap.mpiv +++ b/metapost/context/base/mpiv/mp-shap.mpiv @@ -168,12 +168,12 @@ enddef ; vardef drawpredefinedshape (expr t, p, lw, lc, fc) = save pp ; - if t>1 : % normal shape + if t > 1 : % normal shape path pp ; pp := some_shape_path(t) xyscaled(bbwidth(p), bbheight(p)) shifted center p ; fill pp withcolor fc ; draw pp withpen pencircle scaled lw withcolor lc ; - elseif t=1 : % background only + elseif t = 1 : % background only path pp ; pp := fullsquare xyscaled(bbwidth(p), bbheight(p)) shifted center p ; fill pp withcolor fc ; -- cgit v1.2.3