diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
commit | be0a23cddaf0182d1fda4f623a3b23f67db91d73 (patch) | |
tree | 5d46db6bd85005728f7821965e66e3e5f0018d62 /converter/pbm/pbmtolps.c | |
parent | b13ba8b9b606c916e0bda39348ee009e920df22e (diff) | |
download | netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.gz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.xz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.zip |
Promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3647 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtolps.c')
-rw-r--r-- | converter/pbm/pbmtolps.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/converter/pbm/pbmtolps.c b/converter/pbm/pbmtolps.c index 5adef4c8..dd0342bc 100644 --- a/converter/pbm/pbmtolps.c +++ b/converter/pbm/pbmtolps.c @@ -35,7 +35,7 @@ static int pointcount = 2; static int run = 1; #endif -static char +static char morepoints(char cmd, int howmany_pbmtolps) { pointcount += 2; if (pointcount > 1000) { @@ -47,8 +47,8 @@ morepoints(char cmd, int howmany_pbmtolps) { -static void -addstrip(int const white, +static void +addstrip(int const white, int const black) { if (cmd) { @@ -58,7 +58,7 @@ addstrip(int const white, else { if (run == 1) #endif - printf("%d %d %c ", + printf("%d %d %c ", prev_black, prev_white, morepoints(cmd, 2)); #ifdef RUN else @@ -78,7 +78,7 @@ addstrip(int const white, -static void +static void nextline(void) { /* need to check run, should have an outcommand */ if (cmd) |