nice hack

This commit is contained in:
tTh 2023-02-11 16:08:25 +01:00
parent af103abdcf
commit 4ae4947fbe

View File

@ -478,13 +478,19 @@ void list_crapulors(char *texte)
int idx;
#define OUT stdout
if (NULL!=texte) fprintf(OUT, "______________. %s\n", texte);
if (NULL!=texte && verbosity) fprintf(OUT, "___ %s\n ___", texte);
for (idx=0; CrapL[idx].id!=-1; idx++) {
fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n",
if (verbosity) {
fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n",
CrapL[idx].name,
CrapL[idx].id,
CrapL[idx].ipar,
CrapL[idx].fpar);
}
else {
fprintf(OUT, "%s\n", CrapL[idx].name);
}
}
#undef OUT
}