projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: remove unnecessary if
[dcpomatic.git]
/
src
/
lib
/
film.cc
diff --git
a/src/lib/film.cc
b/src/lib/film.cc
index d9f2b0fec46203c48cfb62e6a323fd05432dac67..d5597b5a12dfa49b13255fd49b42f7fd38a65977 100644
(file)
--- 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;