summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index 6fab0ff..45da3ab 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -113,7 +113,7 @@ SubripReader::read (function<optional<string> ()> get_line)
/* Further trim this line, removing spaces from the end */
trim_right_if (*line, boost::is_any_of (" "));
- boost::algorithm::split (p, *line, boost::algorithm::is_any_of (" "));
+ boost::algorithm::split (p, *line, boost::algorithm::is_any_of (" "), boost::token_compress_on);
if (p.size() != 3 && p.size() != 7) {
for (int i = 0; i < 2; ++i) {
optional<string> ex = get_line ();