summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 227116b0dc..8bd21bb6a4 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1485,6 +1485,7 @@ static bool dirbrowse(char *root, int *dirfilter)
1485 } 1485 }
1486 lasti=i; 1486 lasti=i;
1487 lastdircursor=dircursor; 1487 lastdircursor=dircursor;
1488 thumbnail_time = -1; /* cancel whatever we were about to say */
1488 1489
1489 showfileline(dircursor, i, true, dirfilter); /* scroll please */ 1490 showfileline(dircursor, i, true, dirfilter); /* scroll please */
1490 need_update = true; 1491 need_update = true;
@@ -1493,7 +1494,7 @@ static bool dirbrowse(char *root, int *dirfilter)
1493 { 1494 {
1494 /* play directory thumbnail */ 1495 /* play directory thumbnail */
1495 if (global_settings.talk_dir == 3) /* hover */ 1496 if (global_settings.talk_dir == 3) /* hover */
1496 { // "schedule" a thumbnail, to have a little dalay */ 1497 { /* "schedule" a thumbnail, to have a little dalay */
1497 thumbnail_time = current_tick + HOVER_DELAY; 1498 thumbnail_time = current_tick + HOVER_DELAY;
1498 } 1499 }
1499 else if (global_settings.talk_dir == 1) /* dirs as numbers */ 1500 else if (global_settings.talk_dir == 1) /* dirs as numbers */