dirwalk: Enable stderr output re: unloadbale fonts
This commit is contained in:
parent
173b813a04
commit
10fbd32977
1 changed files with 2 additions and 8 deletions
|
|
@ -238,19 +238,13 @@ void loadfont_callback(SDL_Surface * screen, const char *restrict const dir,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if 0
|
fprintf(stderr, "Font is too defective: %s, %s, %s\n", files[i].str, family, style);
|
||||||
// THREADED_FONTS
|
|
||||||
printf("Font is too defective: %s, %s, %s\n", files[i].str, family, style);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
TuxPaint_Font_CloseFont(font);
|
TuxPaint_Font_CloseFont(font);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if 0
|
fprintf(stderr, "could not open %s\n", files[i].str);
|
||||||
// THREADED_FONTS
|
|
||||||
printf("could not open %s\n", files[i].str);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(files[i].str);
|
free(files[i].str);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue