From 34e54b33f790858998de6f224458b93e54424ed9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 31 Aug 2024 12:46:10 -0400 Subject: codestyle changes on g5911 Change-Id: I8e3b172686fe78d52a8b407193479d3af36ee536 --- apps/tree.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index b4cd9d77b0..721fb8c1ef 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -738,10 +738,13 @@ static int dirbrowse(void) int customaction = ONPLAY_NO_CUSTOMACTION; bool do_restore_display = true; #ifdef HAVE_TAGCACHE - if (id3db && (button == ACTION_STD_OK || button == ACTION_STD_CONTEXT)) { + if (id3db && (button == ACTION_STD_OK || button == ACTION_STD_CONTEXT)) + { customaction = tagtree_get_custom_action(&tc); - if (customaction == ONPLAY_CUSTOMACTION_SHUFFLE_SONGS) { - button = ACTION_STD_CONTEXT; /** The code to insert shuffled is on the context branch of the switch so we always go here */ + if (customaction == ONPLAY_CUSTOMACTION_SHUFFLE_SONGS) + { + /* The code to insert shuffled is on the context branch of the switch so we always go here */ + button = ACTION_STD_CONTEXT; do_restore_display = false; } } -- cgit v1.2.3