about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-11-19 03:08:27 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-11-19 03:08:27 +0000
commitc4d1ecf6a9737516ace4d5648148ec47fc8f9458 (patch)
treeb1f66cfecc7ffddf5a812365dcac609f4b2fc38a /converter/other
parentf727e7f4c753f68e930eedf23ab2284c36928e1f (diff)
downloadnetpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.tar.gz
netpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.tar.xz
netpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.zip
Fix png_create_write_struct() used where png_create_read_struct() belongs
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1015 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pngx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pngx.c b/converter/other/pngx.c
index 6d79bcfe..602fdb33 100644
--- a/converter/other/pngx.c
+++ b/converter/other/pngx.c
@@ -49,7 +49,7 @@ pngx_create(struct pngx ** const pngxPP,
     else {
         switch(rw) {
         case PNGX_READ:
-            pngxP->png_ptr = png_create_write_struct(
+            pngxP->png_ptr = png_create_read_struct(
                 PNG_LIBPNG_VER_STRING,
                 jmpbufP, errorHandler, NULL);
             break;