From 2ddcc9542366d0881917a3875e11fa4510c8f234 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Tue, 5 Aug 2025 15:45:08 +0200 Subject: [PATCH] tagtree: Fix FS#13651 database track titles not voiced with extensions turned off regression introduced in commit 26c612f Change-Id: Id2328a9f0de1fefdfddc7572524cb22a0668af96 --- apps/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tree.c b/apps/tree.c index fc79328cbc..86b841988c 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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;