From 1f1398f9f2ee62467e6a22627b87243d7a3eddff Mon Sep 17 00:00:00 2001 From: tTh Date: Sat, 7 Oct 2023 21:05:55 +0200 Subject: [PATCH] cosmetic --- lib/fimg-file.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/fimg-file.c b/lib/fimg-file.c index fad1f3a..dd0e812 100644 --- a/lib/fimg-file.c +++ b/lib/fimg-file.c @@ -47,8 +47,8 @@ if (memcmp(filehead.magic, "FIMG", 4)) { } /* XXX preparer la gestion des metadata */ -if ('a' == filehead.magic[4]) { - fprintf(stderr,"\n\t****** %s have metadata\n\n", fname); +if ('a' == filehead.magic[4] && verbosity) { + fprintf(stderr,"\t****** %s have metadata\n", fname); } datas[0] = filehead.w; @@ -260,7 +260,8 @@ if ( (filehead.w != where->width) || /* XXX preparer la gestion des metadata */ if ('a' == filehead.magic[4]) { - if (verbosity > 1) fprintf(stderr,"****** %s have metadata\n", fname); + if (verbosity > 1) fprintf(stderr,"%s say %s have metadata\n", + __func__, fname); foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR); if (foo) { fprintf(stderr, "%s: seek error\n", __func__); @@ -339,7 +340,7 @@ if (foo) { */ if ('a' == filehead.magic[4]) { if (verbosity > 1) - { fprintf(stderr, "%s: %s has metadata\n", __func__, fname); } + { fprintf(stderr, "in %s, %s has metadata\n", __func__, fname); } /* old school processing... foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR); */