]> git.pld-linux.org Git - packages/banshee.git/commitdiff
- fix from BGO #410116
authordeejay1 <deejay1@pld-linux.org>
Mon, 2 Jul 2007 14:02:10 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    banshee-spurious_trailing_comma.patch -> 1.1

banshee-spurious_trailing_comma.patch [new file with mode: 0644]

diff --git a/banshee-spurious_trailing_comma.patch b/banshee-spurious_trailing_comma.patch
new file mode 100644 (file)
index 0000000..4ca60a5
--- /dev/null
@@ -0,0 +1,14 @@
+--- banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs-0.12.1      2007-04-01 00:14:59.000000000 +0200
++++ banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs     2007-04-12 01:06:06.000000000 +0200
+@@ -117,6 +117,11 @@
+          field_list = new StringList ();
+          text_encoding = StringType.UTF8;
+          ParseFields (FieldData (data, offset));
++
++         // If not inherited (NOT TXXX), remove trailing strings if empty. (Workaround for defective nul terminated tags.)
++         if (GetType () == typeof (TextIdentificationFrame))
++           while (field_list.Count != 0 && field_list [field_list.Count - 1] == String.Empty) 
++             field_list.RemoveAt (field_list.Count - 1);
+       }
+    }
This page took 0.037326 seconds and 4 git commands to generate.