diff options
Diffstat (limited to 'Master/texmf/asymptote/animation.asy')
-rw-r--r-- | Master/texmf/asymptote/animation.asy | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/texmf/asymptote/animation.asy b/Master/texmf/asymptote/animation.asy index 27f7171a639..582b32bced4 100644 --- a/Master/texmf/asymptote/animation.asy +++ b/Master/texmf/asymptote/animation.asy @@ -33,8 +33,7 @@ struct animation { // been generated. void operator init(string prefix="", bool global=true) { - prefix=replace((prefix == "") ? outprefix() : stripdirectory(prefix), - " ","_"); + prefix=replace(stripdirectory(outprefix(prefix))," ","_"); this.prefix=prefix; this.global=global; } |