summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-04 00:22:51 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-04 00:22:51 +0100
commit0a5e92450ae992e9ed24026dd60ae351d0a3e60b (patch)
tree1658894ecbda49e61a01dc477cdbb2e7d0b57255 /src/lib/hints.cc
parent984455f1a072b0fa42879d03042e82df0a3cb3bd (diff)
Some subtitle renaming.
Diffstat (limited to 'src/lib/hints.cc')
-rw-r--r--src/lib/hints.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc
index 943991d2b..8979b6b4c 100644
--- a/src/lib/hints.cc
+++ b/src/lib/hints.cc
@@ -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) {