The warning ehen there is an error with font may be bigger than screen. Use verbose_message instead (but it looks ugly)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1666 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
20034ef2ae
commit
65ede7dd91
@ -463,7 +463,7 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
|
|||||||
Surface_fonte=IMG_Load(Font_name(font_number));
|
Surface_fonte=IMG_Load(Font_name(font_number));
|
||||||
if (!Surface_fonte)
|
if (!Surface_fonte)
|
||||||
{
|
{
|
||||||
Warning_message("Error loading font. The file may be corrupt.");
|
Verbose_message("Warning","Error loading font.\nThe file may be corrupt.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
font=SFont_InitFont(Surface_fonte);
|
font=SFont_InitFont(Surface_fonte);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user