1
0
Fork 0
forked from len0rd/rockbox

i wasn't fully awake o.o

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7080 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-07-08 22:56:36 +00:00
parent 233b782a85
commit 6fa590b0a7

View file

@ -665,7 +665,7 @@ if ($db) {
#### Build filename offset info
my $l=$fileindex;
my %filenamepos;
for $f (sort keys %entries) {
for $f (sort {uc($a) cmp uc($b)} keys %entries) {
$filenamepos{$f}= $l;
$l += $fileentrysize;
}
@ -710,7 +710,7 @@ if ($db) {
#### TABLE of file names ###
# path1
for (sort {uc($a) cmp uc($b)} %entries) {
for $f (sort {uc($a) cmp uc($b)} %entries) {
my $str = $f."\x00" x ($maxfilelen- length($f));
my $id3 = $entries{$f};
print DB $str;