Silenced some debugging.

This commit is contained in:
William Kendrick 2007-07-19 18:48:18 +00:00
parent 60c8fb487d
commit e9348a977a

View file

@ -74,14 +74,15 @@ void loadfont_callback(SDL_Surface * screen, const char *restrict const dir,
const char *restrict const family = TuxPaint_Font_FontFaceFamilyName(font);
const char *restrict const style = TuxPaint_Font_FontFaceStyleName(font);
printf("success: 0x%x -> 0x%x\n", (unsigned int) font,
(unsigned int) font->ttf_font);
#ifdef DEBUG
int numfaces = TTF_FontFaces(font->ttf_font);
if (numfaces != 1)
printf("Found %d faces in %s, %s, %s\n", numfaces, files[i].str,
family, style);
printf("success: tpf: 0x%x tpf->ttf_font: 0x%x\n",
(unsigned int) font, (unsigned int) font->ttf_font);
#endif
// First, the blacklist. We list font families that can crash Tux Paint