summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-21 23:28:23 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-11-21 23:28:23 -0500
commit5240202226a44c4b91d26d574d3aa01eefddb524 (patch)
tree96686c861ad6f887c66f766b550dc0e23677855c
parentb40dff510a59fa2a529f0fd3133e517c8807d673 (diff)
downloadrockbox-5240202226.tar.gz
rockbox-5240202226.zip
filetypes.c put attr mask back
not totally sure of the implications but this mask should be here Change-Id: I605841a4ec41a2ffbf7b0f6eeaf142068577b919
-rw-r--r--apps/filetypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index 12b4fe3dc6..3ce3200e3c 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -233,7 +233,7 @@ long tree_filetype_voiceclip(int attr)
{
int count = sizeof(inbuilt_attrvoices)/sizeof(*inbuilt_attrvoices);
/* try to find a voice ID for the extension, if known */
- //attr &= FILE_ATTR_MASK; /* file type */
+ attr &= FILE_ATTR_MASK; /* file type */
for (j=0; j<count; j++)
if (attr == inbuilt_attrvoices[j].tree_attr)
{