1
0
Fork 0
forked from len0rd/rockbox

Fixed bad directory length when browsing "all files" for an artist, with not enough files to fill a screen.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6354 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-04-25 22:36:23 +00:00
parent 9213fb241b
commit b015d642b5

View file

@ -372,6 +372,9 @@ int db_load(struct tree_context* c)
lseek(fd, skip, SEEK_CUR);
hits++;
if(table==songs4artist)
c->dirlength=hits;
/* next name is stored immediately after this */
nptr = (void*)nptr + strlen((char*)nptr) + 1;