mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
If the genre string is empty don't treat it as a number.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@823961 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
bd90f1b9d4
commit
07a6c86a31
@ -161,6 +161,9 @@ String ID3v2::Tag::genre() const
|
||||
|
||||
for(StringList::Iterator it = fields.begin(); it != fields.end(); ++it) {
|
||||
|
||||
if((*it).isEmpty())
|
||||
continue;
|
||||
|
||||
bool isNumber = true;
|
||||
|
||||
for(String::ConstIterator charIt = (*it).begin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user