forked from enlightenment/efl
Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever. http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-kOFp88.html#EndPath SVN revision: 64977
This commit is contained in:
parent
789b487da2
commit
4b5e727023
|
@ -97,17 +97,16 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
|
|||
EVAS_FONT_WALK_TEXT_INIT();
|
||||
|
||||
fi = text_props->font_instance;
|
||||
if (fi)
|
||||
{
|
||||
evas_common_font_int_reload(fi);
|
||||
if (!fi) return;
|
||||
|
||||
if (fi->src->current_size != fi->size)
|
||||
{
|
||||
FTLOCK();
|
||||
FT_Activate_Size(fi->ft.size);
|
||||
FTUNLOCK();
|
||||
fi->src->current_size = fi->size;
|
||||
}
|
||||
evas_common_font_int_reload(fi);
|
||||
|
||||
if (fi->src->current_size != fi->size)
|
||||
{
|
||||
FTLOCK();
|
||||
FT_Activate_Size(fi->ft.size);
|
||||
FTUNLOCK();
|
||||
fi->src->current_size = fi->size;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue