Some subtitle renaming.
[dcpomatic.git] / src / lib / hints.cc
index 943991d2bc584f839f2a1eff085218106b35f8cc..8979b6b4ce3941a95f3e0ace2f69298866c6738b 100644 (file)
@@ -287,8 +287,8 @@ Hints::text (PlayerText text, TextType type, DCPTimePeriod period)
                return;
        }
 
-       int lines = text.text.size();
-       BOOST_FOREACH (StringText i, text.text) {
+       int lines = text.string.size();
+       BOOST_FOREACH (StringText i, text.string) {
                if (i.text().length() > CLOSED_CAPTION_LENGTH) {
                        ++lines;
                        if (!_long_ccap) {