about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-04 07:31:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-04 07:31:47 +0000
commit38bec0e56bb6f4a969cd7b34d149ed51bf542437 (patch)
tree94f3f35480295e79057eafbd59d475d53af9d3d5 /converter
parentb5a700b3c4257e9fe928d3b5b2bdfc77beb563f1 (diff)
downloadnetpbm-mirror-38bec0e56bb6f4a969cd7b34d149ed51bf542437.tar.gz
netpbm-mirror-38bec0e56bb6f4a969cd7b34d149ed51bf542437.tar.xz
netpbm-mirror-38bec0e56bb6f4a969cd7b34d149ed51bf542437.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1507 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/other/pnmtops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/converter/other/pnmtops.c b/converter/other/pnmtops.c
index bcca8bfb..638c0128 100644
--- a/converter/other/pnmtops.c
+++ b/converter/other/pnmtops.c
@@ -243,7 +243,7 @@ parseCommandLine(int argc, const char ** argv,
     cmdlineP->canturn =  !noturn;
     cmdlineP->showpage = !noshowpage;
 
-    validateCompDimension(width, 72, "-width value");
+    validateCompDimension(width,  72, "-width value");
     validateCompDimension(height, 72, "-height value");
     
     cmdlineP->width  = width * 72;
@@ -252,8 +252,7 @@ parseCommandLine(int argc, const char ** argv,
     if (imagewidthSpec) {
         validateCompDimension(imagewidth, 72, "-imagewidth value");
         cmdlineP->imagewidth = imagewidth * 72;
-    }
-    else
+    } else
         cmdlineP->imagewidth = 0;
     if (imageheightSpec) {
         validateCompDimension(imagewidth, 72, "-imageheight value");