projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff531ff
)
Cleanup: remove unnecessary if
author
Carl Hetherington
<cth@carlh.net>
Sat, 1 Oct 2022 10:22:10 +0000
(12:22 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 1 Oct 2022 10:22:10 +0000
(12:22 +0200)
src/lib/film.cc
patch
|
blob
|
history
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;