forked from enlightenment/efl
Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
1140dbceeb
commit
a231b7ed26
|
@ -153,13 +153,15 @@ evas_common_font_source_memory_load(const char *name, const void *data, int data
|
||||||
fs->file = NULL;
|
fs->file = NULL;
|
||||||
FTLOCK();
|
FTLOCK();
|
||||||
error = FT_Select_Charmap(fs->ft.face, ft_encoding_unicode);
|
error = FT_Select_Charmap(fs->ft.face, ft_encoding_unicode);
|
||||||
if (error)
|
|
||||||
{
|
if (error)
|
||||||
FT_Done_Face(fs->ft.face);
|
{
|
||||||
fs->ft.face = NULL;
|
FT_Done_Face(fs->ft.face);
|
||||||
free(fs);
|
fs->ft.face = NULL;
|
||||||
return NULL;
|
free(fs);
|
||||||
}
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
FTUNLOCK();
|
FTUNLOCK();
|
||||||
fs->ft.orig_upem = fs->ft.face->units_per_EM;
|
fs->ft.orig_upem = fs->ft.face->units_per_EM;
|
||||||
fs->references = 1;
|
fs->references = 1;
|
||||||
|
|
Loading…
Reference in New Issue