Fix over-escaping that resulted in Recombine Lines stripping 't' rather than tabs. Closes #1418.
Originally committed to SVN as r6361.
This commit is contained in:
parent
a4eb7ef528
commit
71a4e38c7d
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ SubtitlesGrid::SubtitlesGrid(wxWindow *parent, agi::Context *context, const wxS
|
||||||
}
|
}
|
||||||
|
|
||||||
static void trim_text(AssDialogue *diag) {
|
static void trim_text(AssDialogue *diag) {
|
||||||
static wxRegEx start("^( |\\t|\\\\[nNh])+");
|
static wxRegEx start("^( |\t|\\\\[nNh])+");
|
||||||
static wxRegEx end("( |\\t|\\\\[nNh])+$");
|
static wxRegEx end("( |\t|\\\\[nNh])+$");
|
||||||
start.ReplaceFirst(&diag->Text, "");
|
start.ReplaceFirst(&diag->Text, "");
|
||||||
end.ReplaceFirst(&diag->Text, "");
|
end.ReplaceFirst(&diag->Text, "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue