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:
parent
9213fb241b
commit
b015d642b5
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue