SongSave: omit FixTagString() for strings from the database file

Strings in the database should have been sanitized already, so let's
not waste CPU on this.
This commit is contained in:
Max Kellermann 2023-09-06 16:11:53 +02:00
parent a573d57de8
commit 2c01e79b47
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ song_load(LineReader &file, const char *uri,
TagType type;
if ((type = tag_name_parse(line)) != TAG_NUM_OF_ITEM_TYPES) {
tag.AddItem(type, value);
tag.AddItemUnchecked(type, value);
} else if (StringIsEqual(line, "Time")) {
tag.SetDuration(SignedSongTime::FromS(ParseDouble(value)));
} else if (StringIsEqual(line, "Target")) {