about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/ppm/ppmtoxpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ppm/ppmtoxpm.c b/converter/ppm/ppmtoxpm.c
index 4a3336b0..880edf39 100644
--- a/converter/ppm/ppmtoxpm.c
+++ b/converter/ppm/ppmtoxpm.c
@@ -535,7 +535,7 @@ computecolorhash(pixel **          const pixels,
                     ++ncolors;
                 }
             } else
-                *transparentSomewhereP = TRUE;
+                *transparentSomewhereP = true;
         }
     }
     *chtP                  = cht;
@@ -638,9 +638,9 @@ main(int argc, const char * *argv) {
     if (cmdline.hexonly)
         colornameHash = NULL;
     else if (cmdline.rgb)
-        ppm_readcolornamefile(cmdline.rgb, TRUE, &colornameHash, &colornames);
+        ppm_readcolornamefile(cmdline.rgb, true, &colornameHash, &colornames);
     else
-        ppm_readcolornamefile(NULL, FALSE, &colornameHash, &colornames);
+        ppm_readcolornamefile(NULL, false, &colornameHash, &colornames);
 
     /* Now generate the character-pixel colormap table. */
     genCmap(chv, ncolors, maxval,