From 18e91a729a90dbeca0a9e5ec7f3ca602ff90a560 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Wed, 31 Mar 2004 07:18:10 +0000 Subject: 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 --- apps/tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3