Fix a bit of bitrot

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330300 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Allan Sandfeld Jensen 2004-07-17 14:17:09 +00:00
parent cda53a3db4
commit 837872a113
3 changed files with 7 additions and 5 deletions

View File

@ -127,7 +127,7 @@ ByteVector APE::Tag::render() const
}
{ Map<String,ByteVector>::Iterator i = d->unknowns.begin();
while (i != d->unknown.end()) {
while (i != d->unknowns.end()) {
if (!i->second.isEmpty()) {
data.append(i->second);
itemCount++;
@ -316,7 +316,7 @@ void APE::Tag::parse(const ByteVector &data, uint count)
value = String(data.mid(pos+8+key.size()+1, vallen), String::UTF8);
d->items.insert(key,value);
} else {
d->unknown.insert(data.mid(pos, 8+key.size()+1+vallen));
d->unknowns.insert(key,data.mid(pos, 8+key.size()+1+vallen));
}
pos += 8+key.size()+1+vallen;
@ -362,4 +362,4 @@ void APE::Tag::parse(const ByteVector &data, uint count)
pos += 8+key.size()+1+vallen;
count--;
}
}*/
}*/

View File

@ -112,7 +112,7 @@ MPC::Properties *MPC::File::audioProperties() const
}
void MPC::File::save()
bool MPC::File::save()
{
// Update APE tag
@ -131,6 +131,8 @@ void MPC::File::save()
writeBlock(d->ID3v1Tag->render());
}
return true;
}
////////////////////////////////////////////////////////////////////////////////

View File

@ -81,7 +81,7 @@ namespace TagLib {
/*!
* Save the file.
*/
virtual void save();
virtual bool save();
private:
File(const File &);