projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small fixes and tidy-ups spotted by cppcheck.
[dcpomatic.git]
/
src
/
lib
/
cinema.cc
diff --git
a/src/lib/cinema.cc
b/src/lib/cinema.cc
index 282f5427fae472b859101c3d76dfbb30f224ad7d..f06db354343b3c971ce09e84bfba4ed950f08bf2 100644
(file)
--- 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"));
}