add new comparison method rgb_difference that resembles arithmetical difference per...
[imager.git] / pnm.c
diff --git a/pnm.c b/pnm.c
index 15fa4bb..970994b 100644 (file)
--- a/pnm.c
+++ b/pnm.c
@@ -133,7 +133,7 @@ gnum(io_glue *ig, int *i) {
       return 0;
     }
     *i = work;
       return 0;
     }
     *i = work;
-    i_io_getc(ig);
+    i_io_nextc(ig);
   }
 
   return 1;
   }
 
   return 1;