From e8d05ab1c7c8ea1cc9d653540bf3cf2acb2c9669 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 24 Jun 2023 00:54:28 +0200 Subject: Add config option to allow long ISDCF name parts. --- src/lib/film.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/film.cc') 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; -- cgit v1.2.3