about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-01-15 20:06:48 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-01-15 20:06:48 +0000
commita64b8285ae054b63eeec3af90f0526bbcc7e96b9 (patch)
treef2b77cc7882fd0ddd209434a2bbe3af4bc49a6b4 /converter/other
parent94dc9f782d8f3fe709468c86dabb86a71053b87d (diff)
downloadnetpbm-mirror-a64b8285ae054b63eeec3af90f0526bbcc7e96b9.tar.gz
netpbm-mirror-a64b8285ae054b63eeec3af90f0526bbcc7e96b9.tar.xz
netpbm-mirror-a64b8285ae054b63eeec3af90f0526bbcc7e96b9.zip
fix simple bug in code from a few minutes ago
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1389 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pngtopam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index 5dbacd1d..15f3911d 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -527,7 +527,7 @@ dumpPngInfo(struct pngx * const pngxP) {
     else
         pm_message("bKGD chunk: not present");
 
-    if (info_ptr->valid & PNG_INFO_HIST)
+    if (info_ptr->valid & PNG_INFO_hIST)
         pm_message("hIST chunk: present");
     else
         pm_message("hIST chunk: not present");