forked from tTh/FloatImg
nice hack
This commit is contained in:
parent
af103abdcf
commit
4ae4947fbe
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue