1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-26 15:10:40 +05:30

file_type.c: FILE_TYPE_CHECK_RET: fix the typo

This commit is contained in:
Intel A80486DX2-66 2024-11-19 23:43:12 +03:00
parent aca01c5555
commit 632c180f29
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -3,7 +3,7 @@
/* macros: lambdas */
#define FILE_TYPE_CHECK_RET(ext, type) \
if (ends_with_casefold(file_name, ext) && is_valid_file(file, type)) \
return true
return type
#define FILE_TYPE_FREAD_ERROR_HANDLING do { \
if (feof(file)) \