mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Merge 9889a16f9b
into 0e32d7dc76
This commit is contained in:
commit
17926a7b65
@ -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