From 548d51a7560b5b548b8f47f565636938e2c0d13a Mon Sep 17 00:00:00 2001 From: Brett Bergstrom Date: Mon, 5 Oct 2026 17:32:28 -0500 Subject: [PATCH] Encode sentinel value inside version number so user can identify this is the schrift version of the addon, without changing the available exports --- allegro_schrift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allegro_schrift.c b/allegro_schrift.c index d256a92..2237b52 100644 --- a/allegro_schrift.c +++ b/allegro_schrift.c @@ -279,7 +279,7 @@ void al_shutdown_ttf_addon(void) uint32_t al_get_allegro_ttf_version(void) { - return CANI_ALLEGRO_SCHRIFT_VER; + return CANI_ALLEGRO_SCHRIFT_VER & 0x000000FF | 'MKR'<<8; } ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h, int flags) {