diff options
Diffstat (limited to 'converter/pgm/pgmtopgm.c')
-rw-r--r-- | converter/pgm/pgmtopgm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/converter/pgm/pgmtopgm.c b/converter/pgm/pgmtopgm.c index 250bb4dc..71b12754 100644 --- a/converter/pgm/pgmtopgm.c +++ b/converter/pgm/pgmtopgm.c @@ -20,9 +20,9 @@ main(int argc, char *argv[]) { gray maxval; int row; gray * grayrow; - + pgm_init(&argc, argv); - + if (argc-1 != 0) pm_error("Program takes no arguments. Input is from Standard Input"); @@ -42,3 +42,6 @@ main(int argc, char *argv[]) { return 0; } + + + |