mirror of https://github.com/odrling/Aegisub
Fix error when exporting a file with \bord tags to SRT
Originally committed to SVN as r6621.
This commit is contained in:
parent
fccec60fec
commit
87d5b1b943
|
@ -531,7 +531,7 @@ wxString SRTSubtitleFormat::ConvertTags(AssDialogue *diag) const {
|
||||||
// Iterate through overrides
|
// Iterate through overrides
|
||||||
for (size_t j = 0; j < block->Tags.size(); j++) {
|
for (size_t j = 0; j < block->Tags.size(); j++) {
|
||||||
AssOverrideTag *tag = block->Tags[j];
|
AssOverrideTag *tag = block->Tags[j];
|
||||||
if (tag->IsValid()) {
|
if (tag->IsValid() && tag->Name.size() == 2) {
|
||||||
std::map<char, bool>::iterator it = tag_states.find(tag->Name[1]);
|
std::map<char, bool>::iterator it = tag_states.find(tag->Name[1]);
|
||||||
if (it != tag_states.end()) {
|
if (it != tag_states.end()) {
|
||||||
bool temp = tag->Params[0]->Get<bool>();
|
bool temp = tag->Params[0]->Get<bool>();
|
||||||
|
|
Loading…
Reference in New Issue