about summary refs log tree commit diff
path: root/converter/pbm/pbmtomatrixorbital.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/pbm/pbmtomatrixorbital.c')
-rw-r--r--converter/pbm/pbmtomatrixorbital.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/pbmtomatrixorbital.c b/converter/pbm/pbmtomatrixorbital.c
index 79347978..96e1406a 100644
--- a/converter/pbm/pbmtomatrixorbital.c
+++ b/converter/pbm/pbmtomatrixorbital.c
@@ -60,7 +60,7 @@ main(int argc, char * argv[]) {
 
     pbm_init(&argc, argv);
 
-    if (argc-1 > 0)
+    if (argc-1 > 1)
         pm_error("Too many arguments (%d).  The only valid argument is an "
                  "input file name.", argc-1);
     else if (argc-1 == 1)