filetypes.c put attr mask back

not totally sure of the implications but this mask should be here

Change-Id: I605841a4ec41a2ffbf7b0f6eeaf142068577b919
This commit is contained in:
William Wilgus 2022-11-21 23:28:23 -05:00
parent b40dff510a
commit 5240202226

View file

@ -233,7 +233,7 @@ long tree_filetype_voiceclip(int attr)
{ {
int count = sizeof(inbuilt_attrvoices)/sizeof(*inbuilt_attrvoices); int count = sizeof(inbuilt_attrvoices)/sizeof(*inbuilt_attrvoices);
/* try to find a voice ID for the extension, if known */ /* 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++) for (j=0; j<count; j++)
if (attr == inbuilt_attrvoices[j].tree_attr) if (attr == inbuilt_attrvoices[j].tree_attr)
{ {