about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
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;