diff options
Diffstat (limited to 'libgui/psf.c')
-rw-r--r-- | libgui/psf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgui/psf.c b/libgui/psf.c index d6dc9c3..f7271a8 100644 --- a/libgui/psf.c +++ b/libgui/psf.c @@ -25,6 +25,9 @@ int psf_verify(char *data) struct font *psf_parse(char *data) { + if (!data) + return NULL; + int version = psf_verify(data); char *chars; |