1
0
Fork 0
forked from len0rd/rockbox

re-indented to look normal ;-)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5582 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-01-17 14:26:36 +00:00
parent 7396d99027
commit e24a528499

View file

@ -965,13 +965,13 @@ sub get_mp3tag {
} else { } else {
my $data1 = $v2->{$id}; my $data1 = $v2->{$id};
# this is tricky ... if this is an arrayref, # this is tricky ... if this is an arrayref, we want
# we want to only return one, so we pick the # to only return one, so we pick the first one. but
# first one. but if it is a comment, we pick # if it is a comment, we pick the first one where the
# the first one where the first charcter after # first charcter after the language is NULL and not an
# the language is NULL and not an additional # additional sub-comment, because that is most likely
# sub-comment, because that is most likely to be # to be the user-supplied comment
# the user-supplied comment
if (ref $data1 && !$raw_v2) { if (ref $data1 && !$raw_v2) {
if ($id =~ /^COMM?$/) { if ($id =~ /^COMM?$/) {
my($newdata) = grep /^(....\000)/, @{$data1}; my($newdata) = grep /^(....\000)/, @{$data1};