mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
add missing newlines to a couple of error messages
This commit is contained in:
parent
91d916deeb
commit
9889a16f9b
@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// Init FreeType lib, load font
|
||||
if ((err = FT_Init_FreeType(&library))) {
|
||||
fprintf(stderr, "FreeType init error: %d", err);
|
||||
fprintf(stderr, "FreeType init error: %d\n", err);
|
||||
return err;
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
|
||||
&interpreter_version);
|
||||
|
||||
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);
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user