Removed indexing bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c42644d2f4
commit
6050e86643
1 changed files with 0 additions and 4 deletions
|
@ -326,10 +326,6 @@ bool dirbrowse(char *root)
|
|||
lcd_setmargins(0,MARGIN_Y);
|
||||
lcd_setfont(0);
|
||||
#endif
|
||||
if ( dirlevel < MAX_DIR_LEVELS )
|
||||
start = dirpos[dirlevel];
|
||||
else
|
||||
start = 0;
|
||||
numentries = showdir(currdir, buffer, 0, start, &at_end);
|
||||
dircursor=0;
|
||||
while ( (dircursor < TREE_MAX_ON_SCREEN) &&
|
||||
|
|
Loading…
Reference in a new issue