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 ecd083f0a..7af4372f5 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -31,7 +31,7 @@ Cinema::Cinema (shared_ptr<const cxml::Node> node)
list<shared_ptr<cxml::Node> > s = node->node_children ("Screen");
for (list<shared_ptr<cxml::Node> >::iterator i = s.begin(); i != s.end(); ++i) {
- _screens.push_back (shared_ptr<Screen> (new Screen (*i)));
+ add_screen (shared_ptr<Screen> (new Screen (*i)));
}
}