summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-21 03:11:45 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-21 03:11:45 +0000
commit7d187ab8f78465860f29c7d8d0f075417beb7ac7 (patch)
treefb538058386e07455156b340c64fd79a2ed05a0f /src/subrip_reader.cc
parent582d5b62401f092080eb11f07091eb0baa9b5e80 (diff)
Add comment.
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index 8bd2005..557a250 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -83,6 +83,9 @@ SubripReader::SubripReader (FILE* f)
}
case CONTENT:
if (line.empty ()) {
+ /* XXX: I think this line_number should be set to some sensible value and TOP_OF_SUBTITLE
+ should not be used.
+ */
state = COUNTER;
line_number = 0;
} else {