summaryrefslogtreecommitdiff
path: root/src/name_format.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-16 16:24:07 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-16 16:24:07 +0100
commit81ed0ebb725a7b5fec00ae209ba8b0d70ebc4ee1 (patch)
tree41609bbfaf9364b615d6d2178ebea9f3da4451a2 /src/name_format.cc
parentf98f4f58e0b76cf60747897cbb8e488d8e29597a (diff)
Always use ID in custom filenames.
Diffstat (limited to 'src/name_format.cc')
-rw-r--r--src/name_format.cc4
1 files changed, 2 insertions, 2 deletions
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