[BUG] Corrected a problem introduced by me :(

This commit is contained in:
Crayon2000 2009-12-29 02:42:25 +00:00
parent 67b39ed470
commit 81c3a5650f
2 changed files with 3 additions and 4 deletions

View file

@ -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 ;

View file

@ -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;
//------------------------------------------------------------------------------
/**