diff options
Diffstat (limited to 'converter/ppm/ilbmtoppm.c')
-rw-r--r-- | converter/ppm/ilbmtoppm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/ppm/ilbmtoppm.c b/converter/ppm/ilbmtoppm.c index 8bb72662..dab30425 100644 --- a/converter/ppm/ilbmtoppm.c +++ b/converter/ppm/ilbmtoppm.c @@ -2351,7 +2351,7 @@ main(int argc, char *argv[]) { cmap_to_ppm(cmap); } else pm_error("no colormap"); - } else if( bodyChunkProcessed ) { + } else if( !bodyChunkProcessed ) { if( HAS_COLORMAP(cmap) ) { pm_message("input is a colormap file"); check_cmap(bmhdP, cmap); |