diff src/utils.cc @ 719:02814aea28c8

[project @ 1994-09-21 15:01:30 by jwe]
author jwe
date Wed, 21 Sep 1994 15:03:56 +0000
parents 36ba0576bd1b
children b419d48bdf26
line wrap: on
line diff
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -522,6 +522,9 @@
   return argv;
 }
 
+// Return non-zero if either NR or NC is zero.  Return -1 if this
+// should be considered fatal; return 1 if this is ok.
+
 int
 empty_arg (const char *name, int nr, int nc)
 {
@@ -541,6 +544,8 @@
 	  gripe_empty_arg (name, 1);
 	  is_empty = -1;
 	}
+      else
+	is_empty = 1;
     }
 
   return is_empty;