summaryrefslogtreecommitdiff
path: root/graphics/asymptote/util.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-28 03:01:23 +0000
committerNorbert Preining <norbert@preining.info>2024-02-28 03:01:23 +0000
commit0afdc3e8c2d8e96d0cd0a5f05f1481a4eecc51d2 (patch)
tree805f2acf8e0115574bc5781d1dfb87fbe2e63ba8 /graphics/asymptote/util.cc
parenta64a01e8eaa2c096e7879421f075ebfa2a8bb7f0 (diff)
CTAN sync 202402280301
Diffstat (limited to 'graphics/asymptote/util.cc')
-rw-r--r--graphics/asymptote/util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/util.cc b/graphics/asymptote/util.cc
index df33e29bff..8cc0a76aee 100644
--- a/graphics/asymptote/util.cc
+++ b/graphics/asymptote/util.cc
@@ -195,9 +195,9 @@ string outpath(string name)
return outdir+stripDir(name);
}
-string buildname(string name, string suffix, string aux)
+string buildname(string prefix, string suffix, string aux)
{
- name=stripExt(outpath(name),defaultformat())+aux;
+ string name=outpath(prefix)+aux;
if(!suffix.empty()) name += "."+suffix;
return name;
}