Fix EBU STL export

This commit is contained in:
Thomas Goyne 2013-10-17 09:43:44 -07:00
parent 73e1dc1b60
commit 2640dc42a1
1 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ namespace
continue; continue;
// add first part of text to current part // add first part of text to current part
cur_row->back().text.append(text.substr(start, i)); cur_row->back().text.append(begin(text) + start, begin(text) + i);
// process special character // process special character
if (text[i] == '\\' && (text[i + 1] == 'N' || wrap_mode == 1)) if (text[i] == '\\' && (text[i + 1] == 'N' || wrap_mode == 1))
@ -311,7 +311,7 @@ namespace
} }
// add the remaining text // add the remaining text
cur_row->back().text.append(text.substr(start)); cur_row->back().text.append(begin(text) + start, end(text));
// convert \h to regular spaces // convert \h to regular spaces
// done after parsing so that words aren't split on \h // done after parsing so that words aren't split on \h