summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_kdm_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-14 23:27:27 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-14 23:28:26 +0000
commit142f688c0ebb6938ef2d7f2b7e7c859d12af7e23 (patch)
treeb84200a319a599f9d80b6e1fa6b46b16a64dde76 /src/tools/dcpomatic_kdm_cli.cc
parentfbdefe5be361c73a463c3bbe27a7e93a422435b3 (diff)
Build fixes.
Diffstat (limited to 'src/tools/dcpomatic_kdm_cli.cc')
-rw-r--r--src/tools/dcpomatic_kdm_cli.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_kdm_cli.cc b/src/tools/dcpomatic_kdm_cli.cc
index f632d808a..f1849adf6 100644
--- a/src/tools/dcpomatic_kdm_cli.cc
+++ b/src/tools/dcpomatic_kdm_cli.cc
@@ -498,6 +498,7 @@ int main (int argc, char* argv[])
screen_description = optarg;
break;
case 'C':
+ {
/* Make a new screen and add it to the current cinema */
shared_ptr<Screen> screen (new Screen (screen_description, dcp::Certificate (dcp::file_to_string (optarg)), vector<dcp::Certificate>()));
if (cinema) {
@@ -505,6 +506,7 @@ int main (int argc, char* argv[])
}
screens.push_back (screen);
break;
+ }
case 'T':
/* A trusted device ends up in the last screen we made */
if (!screens.empty ()) {