From 5b5c23568a141b188cb3148866a7c85d712bccd4 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 26 Aug 2020 03:38:39 +0000 Subject: whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3928 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamdepth.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'other') diff --git a/other/pamdepth.c b/other/pamdepth.c index 71dae9d8..abe8aac7 100644 --- a/other/pamdepth.c +++ b/other/pamdepth.c @@ -44,7 +44,7 @@ parseCommandLine(int argc, const char ** argv, MALLOCARRAY_NOFAIL(option_def, 100); option_def_index = 0; /* incremented by OPTENTRY */ - OPTENT3(0, "verbose", OPT_STRING, NULL, + OPTENT3(0, "verbose", OPT_STRING, NULL, &cmdlineP->verbose, 0); opt.opt_table = option_def; @@ -100,7 +100,7 @@ createSampleMap(sample const oldMaxval, static void transformRaster(struct pam * const inpamP, struct pam * const outpamP) { - + tuple * tuplerow; unsigned int row; sample * sampleMap; /* malloc'ed */ @@ -152,16 +152,16 @@ main(int argc, const char * argv[]) { pnm_readpaminit(ifP, &inpam, PAM_STRUCT_SIZE(tuple_type)); outpam = inpam; /* initial value */ - + outpam.file = stdout; outpam.maxval = cmdline.newMaxval; - + if (PNM_FORMAT_TYPE(inpam.format) == PBM_TYPE) { pm_message( "promoting from PBM to PGM" ); outpam.format = PGM_TYPE; } else outpam.format = inpam.format; - + pnm_writepaminit(&outpam); transformRaster(&inpam, &outpam); @@ -173,3 +173,6 @@ main(int argc, const char * argv[]) { return 0; } + + + -- cgit 1.4.1