mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Fix #292
This commit is contained in:
parent
a034214512
commit
39a94f4442
@ -693,7 +693,7 @@ bool for_handler(char* path, const char* dir, const char* pattern) {
|
|||||||
} else if (dp) {
|
} else if (dp) {
|
||||||
FILINFO fno;
|
FILINFO fno;
|
||||||
if ((fvx_preaddir(dp, &fno, lpattern) != FR_OK) || !*(fno.fname)) *path = '\0';
|
if ((fvx_preaddir(dp, &fno, lpattern) != FR_OK) || !*(fno.fname)) *path = '\0';
|
||||||
else snprintf(path, 256, "%s/%s", ldir, fno.fname);
|
else snprintf(path, 256, "%s/%.254s", ldir, fno.fname);
|
||||||
} else return false;
|
} else return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user