1
diff -Nur banshee-0.12.0+dfsg/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs banshee-0.12.0+dfsg.new/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs
2
--- banshee-0.12.0+dfsg/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs 2007-02-19 18:31:08.000000000 +1100
3
+++ banshee-0.12.0+dfsg.new/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs 2007-04-03 15:59:52.000000000 +1000
5
field_list = new StringList ();
6
text_encoding = StringType.UTF8;
7
ParseFields (FieldData (data, offset));
9
+ // Remove the last string if it's empty. (Workaround for defective
10
+ // nul terminated tags.)
11
+ if (field_list.Count != 0 && field_list [field_list.Count - 1] == "")
12
+ field_list.RemoveAt (field_list.Count - 1);