From b014342841485737424bee31840fd848fa706536 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 19 Nov 2020 20:03:54 +0100 Subject: Added some color --- 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 066ab81..16b5683 100644 --- a/libgui/gfx.c +++ b/libgui/gfx.c @@ -102,7 +102,7 @@ void gfx_write_char(struct context *ctx, int x, int y, enum font_type font_type, /* gfx_redraw(); */ } -void gfx_write(struct context *ctx, int x, int y, enum font_type font_type, u32 c, char *text) +void gfx_write(struct context *ctx, int x, int y, enum font_type font_type, u32 c, const char *text) { struct font *font = gfx_resolve_font(font_type); u32 cnt = 0; -- cgit v1.2.3