summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 80af6e01d6..531f7838aa 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -392,6 +392,7 @@ bool dirbrowse(char *root)
392 392
393 case TREE_PREV: 393 case TREE_PREV:
394 case TREE_PREV | BUTTON_REPEAT: 394 case TREE_PREV | BUTTON_REPEAT:
395 case BUTTON_VOL_UP:
395 if(filesindir) { 396 if(filesindir) {
396 if(dircursor) { 397 if(dircursor) {
397 put_cursorxy(0, CURSOR_Y + LINE_Y+dircursor, false); 398 put_cursorxy(0, CURSOR_Y + LINE_Y+dircursor, false);
@@ -427,6 +428,7 @@ bool dirbrowse(char *root)
427 428
428 case TREE_NEXT: 429 case TREE_NEXT:
429 case TREE_NEXT | BUTTON_REPEAT: 430 case TREE_NEXT | BUTTON_REPEAT:
431 case BUTTON_VOL_DOWN:
430 if(filesindir) 432 if(filesindir)
431 { 433 {
432 if (dircursor + start + 1 < numentries ) { 434 if (dircursor + start + 1 < numentries ) {