forked from len0rd/rockbox
tagtree: Fix FS#13651 database track titles not voiced with extensions turned off
regression introduced in commit 26c612f
Change-Id: Id2328a9f0de1fefdfddc7572524cb22a0668af96
This commit is contained in:
parent
7b0f408c71
commit
2ddcc95423
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ static struct entry *get_valid_entry(const char* funcname,
|
|||
|
||||
static bool ext_stripit(bool isdir, int attr, int dirfilter)
|
||||
{
|
||||
if(!isdir)
|
||||
if((dirfilter != SHOW_ID3DB) && !isdir)
|
||||
{
|
||||
switch(global_settings.show_filename_ext)
|
||||
{
|
||||
|
@ -141,7 +141,7 @@ static bool ext_stripit(bool isdir, int attr, int dirfilter)
|
|||
case 3:
|
||||
default:
|
||||
/* show file extension: only when viewing all */
|
||||
return (dirfilter != SHOW_ID3DB && dirfilter != SHOW_ALL);
|
||||
return (dirfilter != SHOW_ALL);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue