summaryrefslogtreecommitdiff
path: root/src/lib/cinema.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cinema.cc')
-rw-r--r--src/lib/cinema.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index 282f5427f..ce3077b2a 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -68,8 +68,8 @@ Cinema::remove_screen (shared_ptr<Screen> s)
}
Screen::Screen (cxml::ConstNodePtr node)
+ : name (node->string_child ("Name"))
{
- name = node->string_child ("Name");
if (node->optional_string_child ("Certificate")) {
certificate = dcp::Certificate (node->string_child ("Certificate"));
}