From f7a03b00f0c90680a88db0a49ed30eaca529a932 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 18 Feb 2021 23:08:34 +0100 Subject: Fixed text writing --- libgui/gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgui/gfx.c') diff --git a/libgui/gfx.c b/libgui/gfx.c index 167c76f..687a883 100644 --- a/libgui/gfx.c +++ b/libgui/gfx.c @@ -23,7 +23,7 @@ #define FONT_32_PATH "/font/spleen-16x32.psfu" #define FONT_64_PATH "/font/spleen-32x64.psfu" -struct font *fonts[FONT_COUNT]; +struct font *fonts[FONT_COUNT] = { 0 }; static void load_font(enum font_type font_type) { -- cgit v1.2.3