about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-11-02 15:17:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-11-02 15:17:22 +0000
commitf4a4bdef6391706195e6dda07f42c9fb56b3b134 (patch)
tree252bb20718595f2767deac3a47d331908decf79e
parent07b0c8660e33c59b8877bda6fda814ed691e3d38 (diff)
downloadnetpbm-mirror-f4a4bdef6391706195e6dda07f42c9fb56b3b134.tar.gz
netpbm-mirror-f4a4bdef6391706195e6dda07f42c9fb56b3b134.tar.xz
netpbm-mirror-f4a4bdef6391706195e6dda07f42c9fb56b3b134.zip
include typle type in output
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1359 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/pngtopam.c2
-rw-r--r--doc/HISTORY3
2 files changed, 4 insertions, 1 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index f7767404..2f99d4ac 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -1277,7 +1277,7 @@ convertpng(FILE *             const ifP,
                          &bgColor);
   
     pam.size        = sizeof(pam);
-    pam.len         = PAM_STRUCT_SIZE(maxval);
+    pam.len         = PAM_STRUCT_SIZE(tuple_type);
     pam.file        = stdout;
     pam.plainformat = 0;
     pam.height      = pngxP->info_ptr->height;
diff --git a/doc/HISTORY b/doc/HISTORY
index 7a09ebd6..785871cf 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,9 @@ CHANGE HISTORY
 
 Not yet  BJH  Release 10.53.00
 
+              pngtopam: include tuple type in output.  Thanks
+              Thomas Henlich <thenlich@users.sourceforge.net>.
+
               sunicontopnm: Understands Depth=8.  Thanks Prophet of the Way
               <afu@wta.att.ne.jp>.