diff options
| -rw-r--r-- | font.qoi | bin | 0 -> 1786 bytes | |||
| -rw-r--r-- | teensy/teensy_common.c | 3 |
2 files changed, 1 insertions, 2 deletions
diff --git a/font.qoi b/font.qoi Binary files differnew file mode 100644 index 0000000..062bb56 --- /dev/null +++ b/font.qoi diff --git a/teensy/teensy_common.c b/teensy/teensy_common.c index 96d589e..563a729 100644 --- a/teensy/teensy_common.c +++ b/teensy/teensy_common.c @@ -17,9 +17,8 @@ char *read_file(const char *path, size_t *size_out) size_t bytes_read = fread(dat, sizeof(char), size, file); - if (bytes_read < size) { + if (bytes_read < size) ty_log_fatal(TY_ERR_IO, "could not read file '%s'", path); - } fclose(file); |
