diff options
Diffstat (limited to 'converter/pbm/pbmtoibm23xx.c')
-rw-r--r-- | converter/pbm/pbmtoibm23xx.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/converter/pbm/pbmtoibm23xx.c b/converter/pbm/pbmtoibm23xx.c index 3f1f9679..86103ba6 100644 --- a/converter/pbm/pbmtoibm23xx.c +++ b/converter/pbm/pbmtoibm23xx.c @@ -120,7 +120,7 @@ parseCommandLine(int argc, char ** const argv, /* Read all pbm images from a filehandle and print them */ -static void +static void process_handle(FILE * const fh, unsigned char const graph_mode, unsigned int const passes) { @@ -155,7 +155,7 @@ process_handle(FILE * const fh, for(bitline = 0; bitline < 8; ++bitline) for(pass = 0; pass < passes; ++pass) /* don't read beyond the end of the image if - height is not a multiple of passes + height is not a multiple of passes */ if(y + bitline * passes + pass < rows) { pbm_readpbmrow(fh, row, cols, format); @@ -188,7 +188,7 @@ process_handle(FILE * const fh, -int +int main(int argc,char **argv) { struct cmdlineInfo cmdline; @@ -212,3 +212,6 @@ main(int argc,char **argv) { return 0; } + + + |