diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/stl_binary_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc index 05a01dc..9f2057a 100644 --- a/src/stl_binary_writer.cc +++ b/src/stl_binary_writer.cc @@ -282,8 +282,6 @@ sub::write_stl_binary ( text += utf16_to_iso6937 (utf_to_utf<wchar_t> (k->text)); } - text += "\x8A"; - /* Turn italic/underline off before the end of this subtitle */ if (underline) { @@ -294,6 +292,8 @@ sub::write_stl_binary ( text += "\x81"; } + text += "\x8A"; + if (text.length() > 111) { text = text.substr (111); } |
