summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-24 00:54:28 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-24 00:54:28 +0200
commite8d05ab1c7c8ea1cc9d653540bf3cf2acb2c9669 (patch)
tree21c1c28808717a1b817ef2594b5114faa41e07e3 /src/lib/film.cc
parentc9c1b5e7edce7f7fd531b448323c3b2b2f5c7e65 (diff)
Add config option to allow long ISDCF name parts.
Diffstat (limited to 'src/lib/film.cc')
-rw-r--r--src/lib/film.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index ff0569aa5..4ed1f0f8b 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -863,7 +863,7 @@ Film::isdcf_name (bool if_created_now) const
}
}
- fixed_name = fixed_name.substr(0, 14);
+ fixed_name = fixed_name.substr(0, Config::instance()->isdcf_name_part_length());
isdcf_name += fixed_name;