Tidy up after mass rename.
[dcpomatic.git] / src / lib / hints.cc
index 8cc0cfbfbe4cf0c10fa6c7273a31226d57205508..31b2ad84922a0d4268d011f3cc96cbcdf15c2b03 100644 (file)
@@ -56,7 +56,7 @@ get_hints (shared_ptr<const Film> film)
        bool big_font_files = false;
        if (film->interop ()) {
                BOOST_FOREACH (shared_ptr<Content> i, content) {
-                       BOOST_FOREACH (shared_ptr<TextContent> j, i->caption) {
+                       BOOST_FOREACH (shared_ptr<TextContent> j, i->text) {
                                BOOST_FOREACH (shared_ptr<Font> k, j->fonts()) {
                                        for (int l = 0; l < FontFiles::VARIANTS; ++l) {
                                                optional<boost::filesystem::path> const p = k->file (static_cast<FontFiles::Variant>(l));