From be0a23cddaf0182d1fda4f623a3b23f67db91d73 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 28 Jun 2019 23:54:29 +0000 Subject: Promote Development to Advanced git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3647 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/pbm/pbmtolps.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'converter/pbm/pbmtolps.c') 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) -- cgit 1.4.1