# HG changeset patch # User Mike Becker # Date 1751664209 -7200 # Node ID 954512fc391f381d968a1357a5c32a20f21b1f91 # Parent cb2f60f48337e1bcc5192e27196125eb70290cf5 fix typo in ASC_FLAG_INITIALIZED diff -r cb2f60f48337 -r 954512fc391f src/ascension/context.h --- a/src/ascension/context.h Thu Jul 03 23:01:52 2025 +0200 +++ b/src/ascension/context.h Fri Jul 04 23:23:29 2025 +0200 @@ -39,7 +39,7 @@ #include /** The flag for the overall initialized state. */ -#define ASC_FLAG_INITILIZED 0x01u +#define ASC_FLAG_INITIALIZED 0x01u /** Flag is set when the error buffer contains new error information. */ #define ASC_FLAG_HAS_ERROR 0x02u diff -r cb2f60f48337 -r 954512fc391f src/context.c --- a/src/context.c Thu Jul 03 23:01:52 2025 +0200 +++ b/src/context.c Fri Jul 04 23:23:29 2025 +0200 @@ -49,7 +49,7 @@ void asc_font_cache_destroy(void); void asc_context_initialize(void) { - if (asc_test_flag(asc_context.flags, ASC_FLAG_INITILIZED)) + if (asc_test_flag(asc_context.flags, ASC_FLAG_INITIALIZED)) return; memset(&asc_context, 0, sizeof(AscContext)); @@ -88,7 +88,7 @@ } SDL_ClearError(); asc_context.total_nanos = asc_nanos(); - asc_set_flag(asc_context.flags, ASC_FLAG_INITILIZED); + asc_set_flag(asc_context.flags, ASC_FLAG_INITIALIZED); asc_dprintf("Ascension context initialized."); }