diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/font.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/font.c b/firmware/font.c index a8d8786259..f00ff0e327 100644 --- a/firmware/font.c +++ b/firmware/font.c | |||
@@ -557,6 +557,7 @@ int font_load(const char *path) | |||
557 | size = filesize(fd); | 557 | size = filesize(fd); |
558 | if (size > MAX_FONT_SIZE) | 558 | if (size > MAX_FONT_SIZE) |
559 | size = MAX_FONT_SIZE; | 559 | size = MAX_FONT_SIZE; |
560 | close(fd); | ||
560 | return font_load_ex(path, size); | 561 | return font_load_ex(path, size); |
561 | } | 562 | } |
562 | 563 | ||