]> git.imager.perl.org - imager.git/blobdiff - pnm.c
pngdump: move options to the right place in the synopsis
[imager.git] / pnm.c
diff --git a/pnm.c b/pnm.c
index 15fa4bb62909bfa925559ba6c012f108d2e25071..970994b9078366284254a79e268c1dfffd07a051 100644 (file)
--- a/pnm.c
+++ b/pnm.c
@@ -133,7 +133,7 @@ gnum(io_glue *ig, int *i) {
       return 0;
     }
     *i = work;
-    i_io_getc(ig);
+    i_io_nextc(ig);
   }
 
   return 1;