forked from mia/Aegisub
Don't insert [Script Info] entries for empty values
This commit is contained in:
parent
c1409b5c25
commit
a36011a9dd
1 changed files with 2 additions and 1 deletions
|
@ -325,7 +325,8 @@ void AssFile::SetScriptInfo(wxString const& key, wxString const& value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InsertLine(new AssInfo(key, value));
|
if (!value.empty())
|
||||||
|
InsertLine(new AssInfo(key, value));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AssFile::GetResolution(int &sw,int &sh) const {
|
void AssFile::GetResolution(int &sw,int &sh) const {
|
||||||
|
|
Loading…
Reference in a new issue