summaryrefslogtreecommitdiff
path: root/src/wx/timeline_text_content_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 22:44:53 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit27b83475435dda4e84a90cf59a52f150905c4ab1 (patch)
tree51d0158c7a879f6b2f3c40843c5e5e455069a1dc /src/wx/timeline_text_content_view.cc
parent9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff)
Clean up after previous commit.
Diffstat (limited to 'src/wx/timeline_text_content_view.cc')
-rw-r--r--src/wx/timeline_text_content_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/timeline_text_content_view.cc b/src/wx/timeline_text_content_view.cc
index b4820bfea..bb874449e 100644
--- a/src/wx/timeline_text_content_view.cc
+++ b/src/wx/timeline_text_content_view.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -19,7 +19,7 @@
*/
#include "timeline_text_content_view.h"
-#include "lib/text_content.h"
+#include "lib/caption_content.h"
#include "lib/content.h"
using boost::shared_ptr;
@@ -55,5 +55,5 @@ TimelineTextContentView::active () const
{
shared_ptr<Content> c = _content.lock ();
DCPOMATIC_ASSERT (c);
- return c->subtitle && c->subtitle->use();
+ return c->caption && c->caption->use();
}