diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-04 03:33:12 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-04 03:33:12 +0000 |
commit | e5a9a6ded31a543be41f83c764a151dd2243f3e8 (patch) | |
tree | 42a9c4d37d67966c078863de8a2eac416451ccce | |
parent | 75efa33cf45746a51ccbf842185ac9dbcd2b4390 (diff) | |
download | netpbm-mirror-e5a9a6ded31a543be41f83c764a151dd2243f3e8.tar.gz netpbm-mirror-e5a9a6ded31a543be41f83c764a151dd2243f3e8.tar.xz netpbm-mirror-e5a9a6ded31a543be41f83c764a151dd2243f3e8.zip |
Fix bug from a few minutes ago
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1140 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/pgm/pgmtolispm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/pgm/pgmtolispm.c b/converter/pgm/pgmtolispm.c index 230ceb6a..7d931fb3 100644 --- a/converter/pgm/pgmtolispm.c +++ b/converter/pgm/pgmtolispm.c @@ -20,8 +20,6 @@ ** Changed code style (ANSI-style function definitions, etc.) */ -#include <stdio.h> - #include "pm.h" #include "pgm.h" @@ -150,6 +148,8 @@ main(int argc, const char * argv[]) { "input file name"); } + ifP = pm_openr(inputFile); + pgm_readpgminit(ifP, &cols, &rows, &maxval, &format); grayrow = pgm_allocrow(cols); |