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; 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;