about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
Diffstat (limited to 'converter')
-rw-r--r--converter/pbm/pbmtoascii.c7
1 files changed, 3 insertions, 4 deletions
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 = "-";