From 87d5b1b943219fb361702bc4a29962fef023f385 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 27 Mar 2012 23:15:03 +0000 Subject: [PATCH] Fix error when exporting a file with \bord tags to SRT Originally committed to SVN as r6621. --- aegisub/src/subtitle_format_srt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/subtitle_format_srt.cpp b/aegisub/src/subtitle_format_srt.cpp index 2d549ec2f..8bf27614a 100644 --- a/aegisub/src/subtitle_format_srt.cpp +++ b/aegisub/src/subtitle_format_srt.cpp @@ -531,7 +531,7 @@ wxString SRTSubtitleFormat::ConvertTags(AssDialogue *diag) const { // Iterate through overrides for (size_t j = 0; j < block->Tags.size(); j++) { AssOverrideTag *tag = block->Tags[j]; - if (tag->IsValid()) { + if (tag->IsValid() && tag->Name.size() == 2) { std::map::iterator it = tag_states.find(tag->Name[1]); if (it != tag_states.end()) { bool temp = tag->Params[0]->Get();