diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-28 19:53:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-28 19:53:34 +0000 |
commit | 5d16663331afd0bc2edaeb2e49042dc219ce9c2f (patch) | |
tree | 476fbb2ab4311d4bb6d65b250825e254a7a2c1ef /converter/other/pamtotga.c | |
parent | 42f0bf8e7f1ff88000a3584c265e6f1631662ec4 (diff) | |
download | netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.tar.gz netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.tar.xz netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.zip |
promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4827 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtotga.c')
-rw-r--r-- | converter/other/pamtotga.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/converter/other/pamtotga.c b/converter/other/pamtotga.c index 1daa1e25..f596a313 100644 --- a/converter/other/pamtotga.c +++ b/converter/other/pamtotga.c @@ -120,6 +120,7 @@ parseCommandLine(int argc, const char ** argv, } + static void putPixel(struct pam * const pamP, tuple const tuple, @@ -271,7 +272,7 @@ computeOutName(struct CmdlineInfo const cmdline, workarea = strdup(cmdline.inputFileName); cp = strchr(workarea, '.'); if (cp != NULL) - *cp = '\0'; /* remove extension */ + *cp = '\0'; /* remove extension */ } if (workarea == NULL) @@ -648,3 +649,6 @@ main(int argc, const char **argv) { return 0; } + + + |