From 81ed0ebb725a7b5fec00ae209ba8b0d70ebc4ee1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Aug 2016 16:24:07 +0100 Subject: Always use ID in custom filenames. --- src/name_format.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/name_format.cc') diff --git a/src/name_format.cc b/src/name_format.cc index a85f232d..7b9cfd63 100644 --- a/src/name_format.cc +++ b/src/name_format.cc @@ -65,7 +65,7 @@ filter (string c) } string -NameFormat::get (Map values) const +NameFormat::get (Map values, string suffix) const { string result; for (size_t i = 0; i < _specification.length(); ++i) { @@ -84,7 +84,7 @@ NameFormat::get (Map values) const } } - return result; + return result + suffix; } bool -- cgit v1.2.3