about summary refs log tree commit diff
path: root/converter/other/pnmtopng.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-07-26 00:38:56 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-07-26 00:38:56 +0000
commite821db62a988c16efdf2256928a3c68fb7cdf9d3 (patch)
tree15e64121ccc4a660f52a1e9f7dcafd2980057442 /converter/other/pnmtopng.c
parenta507d475a249a41fe3452279c21fa5d595f39289 (diff)
downloadnetpbm-mirror-e821db62a988c16efdf2256928a3c68fb7cdf9d3.tar.gz
netpbm-mirror-e821db62a988c16efdf2256928a3c68fb7cdf9d3.tar.xz
netpbm-mirror-e821db62a988c16efdf2256928a3c68fb7cdf9d3.zip
Implement -itxt
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2611 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtopng.c')
-rw-r--r--converter/other/pnmtopng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pnmtopng.c b/converter/other/pnmtopng.c
index 8cf9f92e..ac171453 100644
--- a/converter/other/pnmtopng.c
+++ b/converter/other/pnmtopng.c
@@ -2858,7 +2858,7 @@ convertpnm(struct cmdlineInfo const cmdline,
 
     /* tEXT and zTXT chunks */
     if (cmdline.text || cmdline.ztxt)
-        pngtxt_read(pngxP, tfP, !!cmdline.ztxt, cmdline.verbose);
+        pngtxt_addChunk(pngxP, tfP, !!cmdline.ztxt, false, cmdline.verbose);
 
     doTimeChunk(cmdline, pngxP);