Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-08 14:15:24 +01:00
parent 1140dbceeb
commit a231b7ed26
1 changed files with 9 additions and 7 deletions

View File

@ -153,13 +153,15 @@ evas_common_font_source_memory_load(const char *name, const void *data, int data
fs->file = NULL;
FTLOCK();
error = FT_Select_Charmap(fs->ft.face, ft_encoding_unicode);
if (error)
{
FT_Done_Face(fs->ft.face);
fs->ft.face = NULL;
free(fs);
return NULL;
}
if (error)
{
FT_Done_Face(fs->ft.face);
fs->ft.face = NULL;
free(fs);
return NULL;
}
FTUNLOCK();
fs->ft.orig_upem = fs->ft.face->units_per_EM;
fs->references = 1;