summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-03-31 07:18:10 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-03-31 07:18:10 +0000
commit18e91a729a90dbeca0a9e5ec7f3ca602ff90a560 (patch)
tree80e05642926bb259df5a063b75ccd381d896f811
parent67e864e0cc815b2815a101ec867df00557a1d2d1 (diff)
downloadrockbox-18e91a729a90dbeca0a9e5ec7f3ca602ff90a560.tar.gz
rockbox-18e91a729a90dbeca0a9e5ec7f3ca602ff90a560.zip
bugfix for changing position/directory during the talkbox "hover" timeout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4458 a1c6a512-1295-4272-9138-f99709370657
-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 */