about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-03-26 01:44:23 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-03-26 01:44:23 +0000
commit283b7e57935b2b1d21b8f21b9899732f105d689a (patch)
tree6a602dbb18104e9c1a4b4f65bc291c7d5972c6f3 /converter
parent35da12ea8c1c661c97b988328eecebd4b3b30197 (diff)
downloadnetpbm-mirror-283b7e57935b2b1d21b8f21b9899732f105d689a.tar.gz
netpbm-mirror-283b7e57935b2b1d21b8f21b9899732f105d689a.tar.xz
netpbm-mirror-283b7e57935b2b1d21b8f21b9899732f105d689a.zip
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3774 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/other/pbmtopgm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/other/pbmtopgm.c b/converter/other/pbmtopgm.c
index c774f268..817fb5b3 100644
--- a/converter/other/pbmtopgm.c
+++ b/converter/other/pbmtopgm.c
@@ -20,7 +20,7 @@ main(int argc, char *argv[]) {
     int row;
     unsigned int width, height;
     const char * const usage = "<w> <h> [pbmfile]";
-    const char * error; /* error message of pm_string_to_uint */      
+    const char * error; /* error message of pm_string_to_uint */
 
     pgm_init( &argc, argv );
 
@@ -42,7 +42,7 @@ main(int argc, char *argv[]) {
         ifd = stdin ;
 
     inbits = pbm_readpbm(ifd, &cols, &rows) ;
-    
+
     if (width > cols)
         pm_error("You specified a sample width (%u columns) which is greater "
                  "than the image width (%u columns)", height, rows);
@@ -80,7 +80,7 @@ main(int argc, char *argv[]) {
             for (x = l; x < r; ++x) {
                 int y;
                 for (y = t; y < b; ++y)
-                    if (inbits[y][x] == PBM_WHITE) 
+                    if (inbits[y][x] == PBM_WHITE)
                         ++value;
             }
             outrow[col] = (gray) ((double) maxval*value/(onh*onv));