devilhorns pushed a commit to branch master.

commit a231b7ed26d1e3220c5a56faa1ed5fc178304542
Author: Chris Michael <[email protected]>
Date:   Mon Jul 8 14:15:24 2013 +0100

    Fix formatting
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/evas/common/evas_font_load.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/lib/evas/common/evas_font_load.c 
b/src/lib/evas/common/evas_font_load.c
index 5ede331..64422f6 100644
--- a/src/lib/evas/common/evas_font_load.c
+++ b/src/lib/evas/common/evas_font_load.c
@@ -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;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to