summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-09 16:38:14 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-09 16:38:14 +0100
commitacd023e023cfd0c4ccde3d658d038083e2071661 (patch)
treee9dee176713003eb65cd02d7ce4c71569239a342 /src/lib/dcp_subtitle_content.cc
parent2a01820de9229fd778787421ec4f7bbf1e4b8bf1 (diff)
Update hints properly when fonts are changed.
Diffstat (limited to 'src/lib/dcp_subtitle_content.cc')
-rw-r--r--src/lib/dcp_subtitle_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc
index 742773043..3f13f34e2 100644
--- a/src/lib/dcp_subtitle_content.cc
+++ b/src/lib/dcp_subtitle_content.cc
@@ -71,7 +71,7 @@ DCPSubtitleContent::examine (shared_ptr<Job> job)
_length = DCPTime::from_seconds (sc->latest_subtitle_out().as_seconds ());
BOOST_FOREACH (shared_ptr<dcp::LoadFontNode> i, sc->load_font_nodes ()) {
- _fonts.push_back (shared_ptr<Font> (new Font (i->id)));
+ add_font (shared_ptr<Font> (new Font (i->id)));
}
}