diff --git a/GRRLIB/GRRLIB/GRRLIB_core.c b/GRRLIB/GRRLIB/GRRLIB_core.c index 0d20b48..b79ff79 100644 --- a/GRRLIB/GRRLIB/GRRLIB_core.c +++ b/GRRLIB/GRRLIB/GRRLIB_core.c @@ -167,11 +167,10 @@ int GRRLIB_Init (void) { /** * Call this before exiting your application. + * Ensure this function is only ever called once + * and only if the setup function has been called. */ void GRRLIB_Exit (void) { - - // Ensure this function is only ever called once - // ...and only if the setup function has been called static bool done = false; if (done || !is_setup) return ; else done = true ; diff --git a/GRRLIB/GRRLIB/grrlib.h b/GRRLIB/GRRLIB/grrlib.h index 1f59e69..eeaadd8 100644 --- a/GRRLIB/GRRLIB/grrlib.h +++ b/GRRLIB/GRRLIB/grrlib.h @@ -144,7 +144,7 @@ typedef struct GRRLIB_bytemapFont { s8 tracking; /**< Tracking (Add-space after each char) (-128 to 127). */ GRRLIB_bytemapChar *charDef; /**< Array of bitmap characters. */ -} GRRLIB_bytemapChar; +} GRRLIB_bytemapFont; //------------------------------------------------------------------------------ /**