Whitespace corrections

This commit is contained in:
MattTuttle
2015-01-23 15:52:50 -06:00
parent 3827df6952
commit 94b9ea1b86
2 changed files with 14 additions and 14 deletions

View File

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

View File

@@ -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 {
}
}
}