diff options
Diffstat (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/SidplayDecoderPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 7d6ccff89..50c6ec4c6 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -24,6 +24,7 @@ #include "fs/Path.hxx" #include "fs/AllocatedPath.hxx" #include "util/FormatString.hxx" +#include "util/AllocatedString.hxx" #include "util/Domain.hxx" #include "util/Error.hxx" #include "system/ByteOrder.hxx" @@ -352,7 +353,7 @@ sidplay_container_scan(Path path_fs, const unsigned int tnum) /* Construct container/tune path names, eg. Delta.sid/tune_001.sid */ if(tnum<=info.songs) { - return FormatNew(SUBTUNE_PREFIX "%03u.sid", tnum); + return FormatString(SUBTUNE_PREFIX "%03u.sid", tnum).Steal(); } else return nullptr; } |