about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-04-01 16:38:49 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-04-01 16:38:49 +0000
commit507fe8daac1361fe28e62aab07624b1d86bb14ed (patch)
tree439dd70c83029676468a8e58e6af8491ee07e613 /converter
parentdc8a07a5f6ac2a0809c2dfc2300bcb655f9d4910 (diff)
downloadnetpbm-mirror-507fe8daac1361fe28e62aab07624b1d86bb14ed.tar.gz
netpbm-mirror-507fe8daac1361fe28e62aab07624b1d86bb14ed.tar.xz
netpbm-mirror-507fe8daac1361fe28e62aab07624b1d86bb14ed.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4900 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-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,