Mercurial > hg > dmlib
comparison gfxconv.c @ 423:11b3adb3bdb1
Fix image format output.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 03 Nov 2012 08:11:56 +0200 |
parents | 066d93830743 |
children | 983c557f2fbf |
comparison
equal
deleted
inserted
replaced
422:066d93830743 | 423:11b3adb3bdb1 |
---|---|
1512 } | 1512 } |
1513 | 1513 |
1514 fclose(outFile); | 1514 fclose(outFile); |
1515 } | 1515 } |
1516 else | 1516 else |
1517 if (optOutFormat == IMGFMT_PNG || optOutFormat == IMGFMT_PPM || optOutFormat == IMGFMT_PCX) | 1517 if (optOutFormat == FFMT_IMAGE) |
1518 { | 1518 { |
1519 DMImage *outImage = NULL; | 1519 DMImage *outImage = NULL; |
1520 char *outFilename = NULL; | 1520 char *outFilename = NULL; |
1521 int outX = 0, outY = 0, err; | 1521 int outX = 0, outY = 0, err; |
1522 | 1522 |