summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent67e864e0cc815b2815a101ec867df00557a1d2d1 (diff)
downloadrockbox-18e91a729a90dbeca0a9e5ec7f3ca602ff90a560.tar.gz
rockbox-18e91a729a90dbeca0a9e5ec7f3ca602ff90a560.tar.bz2
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
Diffstat (limited to 'apps')
-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)
}
lasti=i;
lastdircursor=dircursor;
+ thumbnail_time = -1; /* cancel whatever we were about to say */
showfileline(dircursor, i, true, dirfilter); /* scroll please */
need_update = true;
@@ -1493,7 +1494,7 @@ static bool dirbrowse(char *root, int *dirfilter)
{
/* play directory thumbnail */
if (global_settings.talk_dir == 3) /* hover */
- { // "schedule" a thumbnail, to have a little dalay */
+ { /* "schedule" a thumbnail, to have a little dalay */
thumbnail_time = current_tick + HOVER_DELAY;
}
else if (global_settings.talk_dir == 1) /* dirs as numbers */