forked from len0rd/rockbox
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
This commit is contained in:
parent
3dcfbc0945
commit
a3e63cf044
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue