Removed tab characters
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@789 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
8
text.c
8
text.c
@@ -459,13 +459,13 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
|
||||
Surface_fonte=IMG_Load(Font_name(font_number));
|
||||
if (!Surface_fonte)
|
||||
{
|
||||
DEBUG("Font loading failed",0);
|
||||
DEBUG("Font loading failed",0);
|
||||
return NULL;
|
||||
}
|
||||
font=SFont_InitFont(Surface_fonte);
|
||||
if (!font)
|
||||
{
|
||||
DEBUG("Font init failed",1);
|
||||
DEBUG("Font init failed",1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -478,7 +478,7 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
|
||||
SFont_Write(TexteColore, font, 0, 0, str);
|
||||
if (!TexteColore)
|
||||
{
|
||||
DEBUG("Rendering failed",2);
|
||||
DEBUG("Rendering failed",2);
|
||||
SFont_FreeFont(font);
|
||||
return NULL;
|
||||
}
|
||||
@@ -489,7 +489,7 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
|
||||
new_brush=Surface_to_bytefield(Texte8Bit, NULL);
|
||||
if (!new_brush)
|
||||
{
|
||||
DEBUG("Converting failed",3);
|
||||
DEBUG("Converting failed",3);
|
||||
SDL_FreeSurface(TexteColore);
|
||||
SDL_FreeSurface(Texte8Bit);
|
||||
SFont_FreeFont(font);
|
||||
|
||||
Reference in New Issue
Block a user