summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-06-29 07:29:14 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-06-29 07:29:14 +0000
commita3e63cf044a18593b8b1bc242c13b3e4a51f9888 (patch)
tree7ddd939eae87ceb384a1f47d43636d5e07bdac16 /apps
parent3dcfbc0945c85c66a62aa1c2186c9025bc8c6c52 (diff)
downloadrockbox-a3e63cf044a18593b8b1bc242c13b3e4a51f9888.tar.gz
rockbox-a3e63cf044a18593b8b1bc242c13b3e4a51f9888.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/tagtree.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 711ca63941..ef4591fe04 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
1581 { 1581 {
1582 if (playlist_remove_all_tracks(NULL) == 0) 1582 if (playlist_remove_all_tracks(NULL) == 0)
1583 position = PLAYLIST_INSERT_LAST; 1583 position = PLAYLIST_INSERT_LAST;
1584 else return -1; } 1584 else
1585 {
1586 cpu_boost(false);
1587 return false;
1588 }
1589 }
1585 1590
1586 if (position == PLAYLIST_INSERT_FIRST) 1591 if (position == PLAYLIST_INSERT_FIRST)
1587 { 1592 {