taglib/taglib — pull request #32 by sbooth (2012-04-07 12:59:49+00:00)
Title: Bug fix allowing APE tag items to be replaced

In the current version of TagLib, the following code doesn't work if an item with key `foo` doesn't exist in the tag:

// Assume tag is an instance of TagLib::APE::Tag
tag->addValue("foo", "bar", false);

Because of a logic error an item with an empty key is inserted with value `bar`. This change fixes the issue.