From ac39354b9eb21679a5f4b2c3bad81794b77a95b1 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Wed, 4 Oct 2006 20:12:51 +0000 Subject: Allow browser to voice the initial selection git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11123 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 0e2dcb6c87..b5673e681c 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -647,7 +647,8 @@ static bool dirbrowse(void) #endif button = get_action(CONTEXT_TREE,HZ/5); returned_button = gui_synclist_do_button(&tree_lists, button); - need_update = (bool)returned_button; + if (returned_button) + need_update = true; if (returned_button == ACTION_STD_CANCEL) button = ACTION_STD_CANCEL; -- cgit v1.2.3