summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/context/base/mp-figs.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/context/base/mp-figs.mp')
-rw-r--r--Master/texmf-dist/metapost/context/base/mp-figs.mp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/metapost/context/base/mp-figs.mp b/Master/texmf-dist/metapost/context/base/mp-figs.mp
index aa6bc0399fb..da5fa0d1691 100644
--- a/Master/texmf-dist/metapost/context/base/mp-figs.mp
+++ b/Master/texmf-dist/metapost/context/base/mp-figs.mp
@@ -22,7 +22,7 @@ def registerfigure(expr name,width,height) =
begingroup ;
save s ; string s ; s := cleanstring(name) ;
scantokens( s & "_width := " & decimal(width)) ;
- scantokens( s & "_height := " & decimal(width)) ;
+ scantokens( s & "_height := " & decimal(height)) ;
endgroup ;
enddef ;