add missing newlines to a couple of error messages

This commit is contained in:
Craig Leres 2022-08-23 14:28:40 -07:00
parent 91d916deeb
commit 9889a16f9b

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
// Init FreeType lib, load font // Init FreeType lib, load font
if ((err = FT_Init_FreeType(&library))) { if ((err = FT_Init_FreeType(&library))) {
fprintf(stderr, "FreeType init error: %d", err); fprintf(stderr, "FreeType init error: %d\n", err);
return err; return err;
} }
@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
&interpreter_version); &interpreter_version);
if ((err = FT_New_Face(library, argv[1], 0, &face))) { if ((err = FT_New_Face(library, argv[1], 0, &face))) {
fprintf(stderr, "Font load error: %d", err); fprintf(stderr, "Font load error: %d\n", err);
FT_Done_FreeType(library); FT_Done_FreeType(library);
return err; return err;
} }