summaryrefslogtreecommitdiff
path: root/src/stl_text_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
commit74765c0660239f48702ebc6d149d522b85392b63 (patch)
treed548627669b16513d5c2e8c877a7b15eb1879919 /src/stl_text_reader.cc
parentbe2117b1ea71c535e03c02be962387829806b1da (diff)
Sketchy support for total line counts when describing vertical position as a line number.
Diffstat (limited to 'src/stl_text_reader.cc')
-rw-r--r--src/stl_text_reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stl_text_reader.cc b/src/stl_text_reader.cc
index 3c60e41..b86a656 100644
--- a/src/stl_text_reader.cc
+++ b/src/stl_text_reader.cc
@@ -39,6 +39,8 @@ using namespace sub;
STLTextReader::STLTextReader (istream& in)
{
_subtitle.vertical_position.line = 0;
+ /* XXX: no idea what this should be */
+ _subtitle.vertical_position.lines = 32;
_subtitle.vertical_position.reference = TOP_OF_SCREEN;
while (in.good ()) {