1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

nyx: Allow arc bits tool to work on all compat folders

This commit is contained in:
CTCaer 2020-06-14 13:09:10 +03:00
parent b0bcdeafac
commit 9619417b07

View file

@ -844,8 +844,8 @@ static int _fix_attributes(lv_obj_t *lb_val, char *path, u32 *total)
bool is_hos_special = !f_stat(path, NULL);
path[strlen(path) - 3] = 0;
// Set archive bit to folders with 3 char extension suffix.
if (is_hos_special && fno.fname[strlen(fno.fname) - 4] == '.')
// Set archive bit to HOS single file folders.
if (is_hos_special)
{
if (!(fno.fattrib & AM_ARC))
{