nice hack
This commit is contained in:
parent
af103abdcf
commit
4ae4947fbe
@ -478,14 +478,20 @@ void list_crapulors(char *texte)
|
|||||||
int idx;
|
int idx;
|
||||||
|
|
||||||
#define OUT stdout
|
#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++) {
|
for (idx=0; CrapL[idx].id!=-1; idx++) {
|
||||||
|
if (verbosity) {
|
||||||
fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n",
|
fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n",
|
||||||
CrapL[idx].name,
|
CrapL[idx].name,
|
||||||
CrapL[idx].id,
|
CrapL[idx].id,
|
||||||
CrapL[idx].ipar,
|
CrapL[idx].ipar,
|
||||||
CrapL[idx].fpar);
|
CrapL[idx].fpar);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
fprintf(OUT, "%s\n", CrapL[idx].name);
|
||||||
|
}
|
||||||
|
}
|
||||||
#undef OUT
|
#undef OUT
|
||||||
}
|
}
|
||||||
/* -------------------------------------------------------------- */
|
/* -------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user