From c713f21f968f56f2cab2881a7784b735bbc219a8 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 8 Oct 2024 16:52:44 +0000 Subject: Fix bug in prior commit git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4961 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/pbm/pbmtoascii.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'converter') diff --git a/converter/pbm/pbmtoascii.c b/converter/pbm/pbmtoascii.c index 1683d51f..632ff3f2 100644 --- a/converter/pbm/pbmtoascii.c +++ b/converter/pbm/pbmtoascii.c @@ -65,11 +65,10 @@ parseCommandLine(int argc, const char ** argv, if (opt1x2Spec && opt2x4Spec) pm_error("You cannot specify both -1x2 and -2x4"); - else if (opt1x2Spec) - cmdlineP->resolution = RESOLUTION_1X2; - else + else if (opt2x4Spec) cmdlineP->resolution = RESOLUTION_2X4; - + else + cmdlineP->resolution = RESOLUTION_1X2; if (argc-1 < 1) cmdlineP->inputFileName = "-"; -- cgit 1.4.1