changeset 132:ea0bfecdd0fd

molko-bcc: allow numeric characters
author David Demelier <markand@malikania.fr>
date Sun, 11 Oct 2020 14:23:10 +0200
parents c679e08b32b2
children c46f80820b42
files libadventure/adventure/splashscreen_state.c tools/bcc/bcc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libadventure/adventure/splashscreen_state.c	Wed Oct 07 09:37:28 2020 +0200
+++ b/libadventure/adventure/splashscreen_state.c	Sun Oct 11 14:23:10 2020 +0200
@@ -44,7 +44,7 @@
 		.color = 0x000000ff
 	};
 
-	if (!(font_openmem(&font, teutonic_, sizeof (teutonic_), 130)))
+	if (!(font_openmem(&font, teutonic1, sizeof (teutonic1), 130)))
 		panic();
 	if (!(font_render(&font, &splashscreen_state_data.text, "Molko's Adventure")))
 		panic();
--- a/tools/bcc/bcc.c	Wed Oct 07 09:37:28 2020 +0200
+++ b/tools/bcc/bcc.c	Sun Oct 11 14:23:10 2020 +0200
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <unistd.h>
 
-static const char *charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_";
+static const char *charset = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_";
 static bool fstatic;
 
 noreturn static void