From e15d6aaa627b296603c9f31d44a07e8acbee2c09 Mon Sep 17 00:00:00 2001 From: jdgordon Date: Sun, 29 Jun 2008 07:29:14 +0000 Subject: [PATCH] very minor code police. also fix a possible but unlikely missed cpu_boost(false) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17867 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/tagtree.c b/apps/tagtree.c index 711ca6394..ef4591fe0 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1581,7 +1581,12 @@ static bool insert_all_playlist(struct tree_context *c, int position, bool queue { if (playlist_remove_all_tracks(NULL) == 0) position = PLAYLIST_INSERT_LAST; - else return -1; } + else + { + cpu_boost(false); + return false; + } + } if (position == PLAYLIST_INSERT_FIRST) { -- 2.11.4.GIT