projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04d06b
)
Replace %c with nothing in KDM filenames if the cinema is not known.
author
Carl Hetherington
<cth@carlh.net>
Sun, 9 Jan 2022 20:49:58 +0000
(21:49 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 10 Jan 2022 18:27:18 +0000
(19:27 +0100)
src/lib/screen.cc
patch
|
blob
|
history
diff --git
a/src/lib/screen.cc
b/src/lib/screen.cc
index 6f9e53b45d773f406f1e5e0a5c4ef1c59ec7716c..73ccffdd86592335090f459837f9ddd5f32c1ffe 100644
(file)
--- a/
src/lib/screen.cc
+++ b/
src/lib/screen.cc
@@
-105,6
+105,8
@@
kdm_for_screen (
dcp::NameFormat::Map name_values;
if (cinema) {
name_values['c'] = cinema->name;
+ } else {
+ name_values['c'] = "";
}
name_values['s'] = screen->name;
name_values['f'] = film->name();