Removed indexing bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-21 15:04:48 +00:00
parent c42644d2f4
commit 6050e86643

View file

@ -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) &&