diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-15 18:06:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-15 18:06:18 +0000 |
| commit | 9a675c832fa8b9e73b14f945dea4a345970610b7 (patch) | |
| tree | 82f0b72ba2442607e0e75e14b052c96b2cecd6a0 /src/ssa_reader.cc | |
| parent | 9cefa0f6a4953890a1212dfd8a6bb32320bc15f4 (diff) | |
Fix newline parsing.
Diffstat (limited to 'src/ssa_reader.cc')
| -rw-r--r-- | src/ssa_reader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssa_reader.cc b/src/ssa_reader.cc index acaa46b..e1ab0f7 100644 --- a/src/ssa_reader.cc +++ b/src/ssa_reader.cc @@ -188,7 +188,7 @@ SSAReader::parse_line (RawSubtitle base, string line) } break; case BACKSLASH: - if (c == 'n' && !current.text.empty ()) { + if ((c == 'n' || c == 'N') && !current.text.empty ()) { subs.push_back (current); current.text = ""; current.vertical_position.line = current.vertical_position.line.get() + 1; |
