From 94b9ea1b86b814961330d196411187b164be3901 Mon Sep 17 00:00:00 2001 From: MattTuttle Date: Fri, 23 Jan 2015 15:52:50 -0600 Subject: [PATCH] Whitespace corrections --- project/src/ExternalInterface.cpp | 8 ++++---- project/src/graphics/Font.cpp | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/project/src/ExternalInterface.cpp b/project/src/ExternalInterface.cpp index 05c7ba774..fb3bd44ef 100644 --- a/project/src/ExternalInterface.cpp +++ b/project/src/ExternalInterface.cpp @@ -163,9 +163,9 @@ namespace lime { Font *font = Font::FromFile (val_string (fontFace)); if (font) { - value v = alloc_float ((intptr_t)font); - val_gc (v, lime_font_destroy); - return v; + value v = alloc_float ((intptr_t)font); + val_gc (v, lime_font_destroy); + return v; } else { @@ -551,4 +551,4 @@ extern "C" int lime_register_prims () { return 0; -} \ No newline at end of file +} diff --git a/project/src/graphics/Font.cpp b/project/src/graphics/Font.cpp index fb719e6e9..e00112e5c 100644 --- a/project/src/graphics/Font.cpp +++ b/project/src/graphics/Font.cpp @@ -273,16 +273,16 @@ namespace lime { } else { FT_Face face; - error = FT_New_Face (library, fontFace, 0, &face); - - if (error == FT_Err_Unknown_File_Format) { - - printf ("Invalid font type\n"); - - } else if (error) { - - printf ("Failed to load font face %s\n", fontFace); + error = FT_New_Face (library, fontFace, 0, &face); + if (error == FT_Err_Unknown_File_Format) { + + printf ("Invalid font type\n"); + + } else if (error) { + + printf ("Failed to load font face %s\n", fontFace); + } else { return new Font(face); @@ -756,4 +756,4 @@ namespace lime { } -} \ No newline at end of file +}