more useles messages

This commit is contained in:
tth 2020-06-24 12:37:02 +02:00
parent 9517c8a10f
commit a81d218fc8
3 changed files with 8 additions and 4 deletions

View File

@ -19,14 +19,15 @@ echo "=== " $0 " ==="
# -----------------------------------------------------
function essai_drand48
{
./mkfimg -v -t drand48 $TMPF 800 600
./mkfimg -vv -t drand48 $TMPF 800 600
./fimgstats -vv $TMPF
}
# -----------------------------------------------------
function essai_cmixa
{
./mkfimg -v -t tpat0 $TMPF 800 600
./fimgfx -v cmixa $TMPF bar.fimg
./mkfimg -vv -t tpat0 $TMPF 800 600
./fimgfx -vv cmixa $TMPF bar.fimg
}
# -----------------------------------------------------

View File

@ -210,6 +210,8 @@ if (3 > argc-optind) {
exit(1);
}
if (verbosity>1) fprintf(stderr, "*** fimgfx *** %s %s\n", __DATE__, __TIME__);
operator = argv[optind];
action = lookup_fxidx(operator);
if (action < 0) {

View File

@ -111,8 +111,9 @@ if (type < 0) {
fname = argv[optind];
width = atoi(argv[optind+1]); height = atoi(argv[optind+2]);
if (verbosity>1) fprintf(stderr, "*** mkfimg *** %s %s\n", __DATE__, __TIME__);
if (verbosity) fprintf(stderr, "making '%s' %d x %d, type %d\n",
fname, width, height, type);
fname, width, height, type);
srand48(getpid() ^ time(NULL));