From 0f6467a016e9a13dedb944b239b6eddb2af33ca3 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 7 Jun 2000 20:07:35 +0000 Subject: [PATCH] fixed a small bug that prevented the file name to be correctly printed in certain cases.. --- demos/src/ftlint.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/demos/src/ftlint.c b/demos/src/ftlint.c index f442c201d..e16bbcbb5 100644 --- a/demos/src/ftlint.c +++ b/demos/src/ftlint.c @@ -84,7 +84,12 @@ /* try to open the file with no extra extension first */ error = FT_New_Face( library, fname, 0, &face ); - if (!error) goto Success; + if (!error) + { + printf( "%s: ", fname ); + goto Success; + } + if ( error == FT_Err_Unknown_File_Format ) {