Input file format bug fixed

This commit is contained in:
Francois-Olivier Devaux 2005-02-10 16:16:18 +00:00
parent fdbca0fc9d
commit 542f06007c
1 changed files with 1 additions and 1 deletions

View File

@ -955,7 +955,7 @@ int main(int argc, char **argv)
/* Remove the temporary files */ /* Remove the temporary files */
/* -------------------------- */ /* -------------------------- */
if (cp.decod_format != PGX_CFMT) { /* PNM PGM PPM or BMP */ if (cp.decod_format != PGX_DFMT) { /* PNM PGM PPM or BMP */
for (i = 0; i < img.numcomps; i++) { for (i = 0; i < img.numcomps; i++) {
char tmp; char tmp;
sprintf(&tmp, "Compo%d", i); sprintf(&tmp, "Compo%d", i);