mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
fread => mycore_fread
This commit is contained in:
parent
4b7a55480f
commit
6ecac3475a
@ -143,7 +143,7 @@ mystatus_t myfont_load_from_file(myfont_font_t *mf, const char *filepath, uint8_
|
||||
return MyFONT_STATUS_ERROR_MEMORY_ALLOCATION;
|
||||
}
|
||||
|
||||
if(fread(data, 1, file_size, fh) != file_size) {
|
||||
if(mycore_fread(data, 1, file_size, fh) != file_size) {
|
||||
mycore_fclose(fh);
|
||||
return MyFONT_STATUS_ERROR_FILE_READ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user