mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Remove empty Xiph comments. Patch from Stephan Booth.
BUG:145532 CCMAIL:taglib-devel@kde.org git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@672863 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
cc00badd70
commit
b5a9b00003
@ -188,7 +188,7 @@ void Ogg::XiphComment::addField(const String &key, const String &value, bool rep
|
||||
if(replace)
|
||||
removeField(key.upper());
|
||||
|
||||
if(!key.isEmpty())
|
||||
if(!key.isEmpty() && !value.isEmpty())
|
||||
d->fieldListMap[key.upper()].append(value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user