summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc4
1 files changed, 1 insertions, 3 deletions
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;