]> git.pld-linux.org Git - packages/banshee.git/blob - banshee-spurious_trailing_comma.patch
- enable ipod support
[packages/banshee.git] / banshee-spurious_trailing_comma.patch
1 --- banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs-0.12.1       2007-04-01 00:14:59.000000000 +0200
2 +++ banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs      2007-04-12 01:06:06.000000000 +0200
3 @@ -117,6 +117,11 @@
4           field_list = new StringList ();
5           text_encoding = StringType.UTF8;
6           ParseFields (FieldData (data, offset));
7 +
8 +         // If not inherited (NOT TXXX), remove trailing strings if empty. (Workaround for defective nul terminated tags.)
9 +         if (GetType () == typeof (TextIdentificationFrame))
10 +           while (field_list.Count != 0 && field_list [field_list.Count - 1] == String.Empty) 
11 +             field_list.RemoveAt (field_list.Count - 1);
12        }
13     }
14  
This page took 0.120462 seconds and 3 git commands to generate.