projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1f122
)
Fix newline parsing.
author
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2016 18:06:18 +0000
(18:06 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2016 23:18:34 +0000
(23:18 +0000)
src/ssa_reader.cc
patch
|
blob
|
history
diff --git
a/src/ssa_reader.cc
b/src/ssa_reader.cc
index acaa46be4b0d5dc714474ffece2e9c09918f84b0..e1ab0f74df4972e139c6cef6b32225f68a7945ca 100644
(file)
--- 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;