aboutsummaryrefslogtreecommitdiff
path: root/libgui
diff options
context:
space:
mode:
authorMarvin Borner2021-02-18 23:08:34 +0100
committerMarvin Borner2021-02-18 23:08:34 +0100
commitf7a03b00f0c90680a88db0a49ed30eaca529a932 (patch)
tree10b74727dbb4e140ba7e89ad0bc3eb92359fe576 /libgui
parent2ae5e5b31a943719083dd64ee24c4200220f7ff0 (diff)
Fixed text writing
Diffstat (limited to 'libgui')
-rw-r--r--libgui/gfx.c2
1 files changed, 1 insertions, 1 deletions
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)
{