X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffilm.cc;fp=src%2Flib%2Ffilm.cc;h=d5597b5a12dfa49b13255fd49b42f7fd38a65977;hp=d9f2b0fec46203c48cfb62e6a323fd05432dac67;hb=1a18ab415edffc7598e0983b4e632775b1775757;hpb=ff531ff611c0446906cc5b122cc4f7cec329d2f2 diff --git a/src/lib/film.cc b/src/lib/film.cc index d9f2b0fec..d5597b5a1 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -842,9 +842,7 @@ Film::isdcf_name (bool if_created_now) const } } - if (fixed_name.length() > 14) { - fixed_name = fixed_name.substr (0, 14); - } + fixed_name = fixed_name.substr(0, 14); isdcf_name += fixed_name;