From 38bec0e56bb6f4a969cd7b34d149ed51bf542437 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 4 Jul 2011 07:31:47 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1507 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pnmtops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'converter') 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"); -- cgit 1.4.1