Don't insert [Script Info] entries for empty values

This commit is contained in:
Thomas Goyne 2012-12-09 17:07:05 -08:00
parent c1409b5c25
commit a36011a9dd
1 changed files with 2 additions and 1 deletions

View File

@ -325,6 +325,7 @@ void AssFile::SetScriptInfo(wxString const& key, wxString const& value) {
}
}
if (!value.empty())
InsertLine(new AssInfo(key, value));
}