From e4043e64a33028aa7669f9d80d763281a882de86 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 27 Mar 2012 23:15:12 +0000 Subject: [PATCH] Add support for omitted parameters in tags to the SRT exporter Originally committed to SVN as r6622. --- 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 8bf27614a..d4ff55a1a 100644 --- a/aegisub/src/subtitle_format_srt.cpp +++ b/aegisub/src/subtitle_format_srt.cpp @@ -534,7 +534,7 @@ wxString SRTSubtitleFormat::ConvertTags(AssDialogue *diag) const { 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(); + bool temp = tag->Params[0]->Get(false); if (temp && !it->second) final += wxString::Format("<%c>", it->first); if (!temp && it->second)