Added Utility to MANIFEST
[sdlgit/SDL_perl.git] / src / SDL.xs
index c327e5e..b7aab01 100644 (file)
@@ -97,7 +97,7 @@ static int sdl_perl_use_smpeg_audio = 0;
 #define HAVE_TLS_CONTEXT
 #endif
 
-#include "defines.h"
+#include "src/defines.h"
 
 Uint32 
 sdl_perl_timer_callback ( Uint32 interval, void* param )
@@ -3105,6 +3105,7 @@ TTFCloseFont ( font )
        TTF_Font *font
        CODE:
                TTF_CloseFont(font);
+               font=NULL; //to be safe http://sdl.beuc.net/sdl.wiki/SDL_ttf_copy_Functions_Management_TTF_CloseFont
 
 SDL_Surface*
 TTFPutString ( font, mode, surface, x, y, fg, bg, text )