comparison gfxconv.c @ 446:a6d0e101cd16

Oops, correct the use of dmImageFormatList[] entry pointer to entry.fext.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 04 Nov 2012 08:38:25 +0200
parents f7c9d1619c74
children 2f820412d356
comparison
equal deleted inserted replaced
445:1d65efb29986 446:a6d0e101cd16
521 int dmWriteImage(const char *filename, DMImage *image, DMImageSpec *spec, int iformat, BOOL info) 521 int dmWriteImage(const char *filename, DMImage *image, DMImageSpec *spec, int iformat, BOOL info)
522 { 522 {
523 if (info) 523 if (info)
524 { 524 {
525 dmMsg(1, "Outputting %s image %d x %d -> %d x %d [%d]\n", 525 dmMsg(1, "Outputting %s image %d x %d -> %d x %d [%d]\n",
526 dmImageFormatList[iformat], 526 dmImageFormatList[iformat].fext,
527 image->width, image->height, 527 image->width, image->height,
528 image->width * spec->scale, image->height * spec->scale, 528 image->width * spec->scale, image->height * spec->scale,
529 spec->scale); 529 spec->scale);
530 } 530 }
531 531