Removed some silly code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@772 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-28 16:32:43 +00:00
parent 361aaf6acd
commit b3f59c4172

View file

@ -117,7 +117,6 @@ static int showdir(char *path, int start)
#endif
for ( i=start; i < start+TREE_MAX_ON_SCREEN; i++ ) {
if ( i < filesindir ) {
int len = strlen(buffer[i].name);
#ifdef HAVE_LCD_BITMAP
@ -138,9 +137,6 @@ static int showdir(char *path, int start)
buffer[i].name[TREE_MAX_LEN_DISPLAY]=storage;
}
}
else
lcd_puts(LINE_X, LINE_Y+i-start," ");
}
return filesindir;
}
@ -176,13 +172,7 @@ bool dirbrowse(char *root)
#endif
while(1) {
int key = button_get();
if(!key) {
sleep(1);
continue;
}
switch(key) {
switch(button_get(true)) {
#if defined(SIMULATOR) && defined(HAVE_RECODER_KEYPAD)
case BUTTON_OFF:
return false;