--- ray/src/px/pcompos.c 1992/06/16 16:48:41 2.5 +++ ray/src/px/pcompos.c 1992/08/11 18:40:57 2.10 @@ -16,7 +16,7 @@ static char SCCSid[] = "$SunId$ LBL"; #include "resolu.h" -#define MAXFILE 32 +#define MAXFILE 64 /* output picture size */ int xsiz = 0; @@ -116,13 +116,15 @@ char *argv[]; goto userr; } dofiles: + if (ysiz > 0 & ncolumns > 0) { + fprintf(stderr, "%s: -a option incompatible with -y\n", + progname); + quit(1); + } for (nfile = 0; an < argc; nfile++) { if (nfile >= MAXFILE) goto toomany; - if (autolabel) - thislabel = argv[an]; - else - thislabel = NULL; + thislabel = NULL; input[nfile].hasmin = input[nfile].hasmax = 0; while (an < argc && (argv[an][0] == '-' || argv[an][0] == '+')) switch (argv[an][1]) { @@ -159,6 +161,8 @@ dofiles: getfile: if (argc-an < (ncolumns ? 1 : 3)) goto userr; + if (autolabel && thislabel == NULL) + thislabel = argv[an]; if (!strcmp(argv[an], "-")) { input[nfile].name = ""; input[nfile].fp = stdin; @@ -218,6 +222,8 @@ getfile: goto toomany; input[nfile].name = "