mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Don't insert [Script Info] entries for empty values
This commit is contained in:
parent
c1409b5c25
commit
a36011a9dd
@ -325,6 +325,7 @@ void AssFile::SetScriptInfo(wxString const& key, wxString const& value) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!value.empty())
|
||||||
InsertLine(new AssInfo(key, value));
|
InsertLine(new AssInfo(key, value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user