summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote/plain_shipout.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/asymptote/plain_shipout.asy')
-rw-r--r--Master/texmf/asymptote/plain_shipout.asy5
1 files changed, 1 insertions, 4 deletions
diff --git a/Master/texmf/asymptote/plain_shipout.asy b/Master/texmf/asymptote/plain_shipout.asy
index 9691a8e2fcf..e96a3a8acb1 100644
--- a/Master/texmf/asymptote/plain_shipout.asy
+++ b/Master/texmf/asymptote/plain_shipout.asy
@@ -2,9 +2,7 @@
string defaultfilename;
string outprefix(string prefix=defaultfilename) {
- string s=prefix != "" ? prefix :
- (settings.outname == "" && interactive()) ? "out" : settings.outname;
- return stripextension(s);
+ return stripextension(prefix != "" ? prefix : outname());
}
string outformat(string format="")
@@ -14,7 +12,6 @@ string outformat(string format="")
return format;
}
-
bool shipped; // Was a picture or frame already shipped out?
frame currentpatterns;