ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pcompos.c
(Generate patch)

Comparing ray/src/px/pcompos.c (file contents):
Revision 1.7 by greg, Thu May 30 09:44:36 1991 UTC vs.
Revision 1.8 by greg, Thu May 30 10:33:30 1991 UTC

# Line 114 | Line 114 | dofiles:
114                                  fprintf(stderr,
115                                  "%s: only %d files allowed with labels\n",
116                                          progname, MAXFILE/2);
117 +                                quit(1);
118                          }
119                  } else {
120                          if (nfile >= MAXFILE) {
# Line 122 | Line 123 | dofiles:
123                                  quit(1);
124                          }
125                  }
125                if (nfile >= (dolabels ? MAXFILE-1 : MAXFILE)) {
126                        fprintf(stderr, "%s: too many files\n", progname);
127                        quit(1);
128                }
126                  input[nfile].hasmin = input[nfile].hasmax = 0;
127                  while (an < argc && (argv[an][0] == '-' || argv[an][0] == '+'))
128                          switch (argv[an][1]) {
# Line 235 | Line 232 | getfile:
232          
233          quit(0);
234   userr:
235 <        fprintf(stderr, "Usage: %s [-x xres][-y yres][-b r g b] ", progname);
236 <        fprintf(stderr, "[-t min1][+t max1] file1 x1 y1 ..\n");
235 >        fprintf(stderr, "Usage: %s [-x xr][-y yr][-b r g b][-a n][-l] ",
236 >                        progname);
237 >        fprintf(stderr, "[-t min1][+t max1] pic1 x1 y1 ..\n");
238          quit(1);
239   labelerr:
240          fprintf(stderr, "%s: error opening label\n", progname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines