From ac5f40a543c1dec8d49ccee1ce1b2faca66e7863 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 26 May 2014 19:35:46 -0700 Subject: [PATCH] Fix \N handling in EBU STL export --- src/subtitle_format_ebu3264.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/subtitle_format_ebu3264.cpp b/src/subtitle_format_ebu3264.cpp index 282b57c85..34258098a 100644 --- a/src/subtitle_format_ebu3264.cpp +++ b/src/subtitle_format_ebu3264.cpp @@ -302,7 +302,10 @@ namespace cur_row->emplace_back("", underline, italic, true); } - start = i + (text[i] == '\\'); + if (text[i] == '\\') + start = ++i + 1; + else + start = i; } // add the remaining text