From 01c570789d7f9ccc1521b791903c8a499b0f6323 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 8 Jan 2021 14:51:11 +0100 Subject: Kinda working VFS implementation --- libgui/psf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgui/psf.c') 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; -- cgit v1.2.3