diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-12-10 05:11:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-12-10 05:11:05 +0000 |
commit | 59a9dc465cf8b1af911cfc834eb4a9ad6c1bb096 (patch) | |
tree | aaba489dcfd25c77b4e40370388bc0de311c503e | |
parent | 86aef68b580c08274ffe0b26f58b36f88b3220a5 (diff) | |
download | netpbm-mirror-59a9dc465cf8b1af911cfc834eb4a9ad6c1bb096.tar.gz netpbm-mirror-59a9dc465cf8b1af911cfc834eb4a9ad6c1bb096.tar.xz netpbm-mirror-59a9dc465cf8b1af911cfc834eb4a9ad6c1bb096.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3998 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | generator/ppmrough.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generator/ppmrough.c b/generator/ppmrough.c index 626ee989..c87a0364 100644 --- a/generator/ppmrough.c +++ b/generator/ppmrough.c @@ -37,6 +37,7 @@ struct CmdlineInfo { }; + static void parseCommandLine(int argc, const char ** argv, struct CmdlineInfo * const cmdlineP) { @@ -91,7 +92,7 @@ static void procLeft(int const r1, int const r2, int const c1, - int const c2, + int const c2, unsigned int const var) { int cm, rm, c; @@ -220,7 +221,7 @@ main(int argc, const char * argv[]) { fg_blue = PPM_GETB(fgcolor); if (cmdline.verbose) { - pm_message("width is %d, height is %d, variance is %d.", + pm_message("width is %d, height is %d, variance is %d.", cols, rows, cmdline.var); if (left >= 0) pm_message("ragged left border is required"); @@ -278,7 +279,7 @@ main(int argc, const char * argv[]) { for (col = right_c2; col < cols; col++) PPM_ASSIGN(PIX[right_r2][col], BG_RED, BG_GREEN, BG_BLUE); - procRight(right_r1, right_r2, right_c1, right_c2, + procRight(right_r1, right_r2, right_c1, right_c2, cmdline.width, cmdline.var); } @@ -313,7 +314,7 @@ main(int argc, const char * argv[]) { for (row = bottom_r2; row < rows; ++row) PPM_ASSIGN(PIX[row][bottom_c2], BG_RED, BG_GREEN, BG_BLUE); - procBottom(bottom_c1, bottom_c2, bottom_r1, bottom_r2, + procBottom(bottom_c1, bottom_c2, bottom_r1, bottom_r2, cmdline.height, cmdline.var); } |