summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/alignbox.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/alignbox.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/alignbox.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf/doc/asymptote/examples/alignbox.asy b/Master/texmf/doc/asymptote/examples/alignbox.asy
index 8f216c6a10c..67083b1e2e0 100644
--- a/Master/texmf/doc/asymptote/examples/alignbox.asy
+++ b/Master/texmf/doc/asymptote/examples/alignbox.asy
@@ -4,6 +4,6 @@ object left=align(object("$x^2$",ellipse,margin),W);
add(left);
object right=align(object("$\sin x$",ellipse,margin),4E);
add(right);
-currentpicture.add(new void(frame f, transform t) {
+add(new void(frame f, transform t) {
draw(f,point(left,NE,t)--point(right,W,t));
});