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:
parent
aca01c5555
commit
632c180f29
@ -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)) \
|
||||
|
Loading…
Reference in New Issue
Block a user