diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 6dbf55046a..a7615b9738 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -471,6 +471,7 @@ bool dirbrowse(char *root) | |||
471 | button = button_get_w_tmo(HZ/5); | 471 | button = button_get_w_tmo(HZ/5); |
472 | switch ( button ) { | 472 | switch ( button ) { |
473 | case TREE_EXIT: | 473 | case TREE_EXIT: |
474 | case TREE_EXIT | BUTTON_REPEAT: | ||
474 | i=strlen(currdir); | 475 | i=strlen(currdir); |
475 | if (i>1) { | 476 | if (i>1) { |
476 | while (currdir[i-1]!='/') | 477 | while (currdir[i-1]!='/') |
@@ -510,8 +511,10 @@ bool dirbrowse(char *root) | |||
510 | 511 | ||
511 | 512 | ||
512 | case TREE_ENTER: | 513 | case TREE_ENTER: |
514 | case TREE_ENTER | BUTTON_REPEAT: | ||
513 | #ifdef HAVE_RECORDER_KEYPAD | 515 | #ifdef HAVE_RECORDER_KEYPAD |
514 | case BUTTON_PLAY: | 516 | case BUTTON_PLAY: |
517 | case BUTTON_PLAY | BUTTON_REPEAT: | ||
515 | #endif | 518 | #endif |
516 | if ( !numentries ) | 519 | if ( !numentries ) |
517 | break; | 520 | break; |