summaryrefslogtreecommitdiff
path: root/src/stl_text_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-14 15:13:48 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-14 15:13:48 +0000
commit972d33c500c9de02aa007440f665637e455610c1 (patch)
tree5956c54b3b97ab10b61fd1383cfd12de15959214 /src/stl_text_reader.cc
parent65244fb9190e6d0aefc83c9cc4de83b1df18001d (diff)
Forward-port some stuff from 0.x.
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 ()) {