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 2.5 by greg, Tue Jun 16 16:48:41 1992 UTC vs.
Revision 2.6 by greg, Mon Jun 22 14:14:40 1992 UTC

# Line 119 | Line 119 | dofiles:
119          for (nfile = 0; an < argc; nfile++) {
120                  if (nfile >= MAXFILE)
121                          goto toomany;
122 <                if (autolabel)
123 <                        thislabel = argv[an];
124 <                else
125 <                        thislabel = NULL;
122 >                thislabel = NULL;
123                  input[nfile].hasmin = input[nfile].hasmax = 0;
124                  while (an < argc && (argv[an][0] == '-' || argv[an][0] == '+'))
125                          switch (argv[an][1]) {
# Line 159 | Line 156 | dofiles:
156   getfile:
157                  if (argc-an < (ncolumns ? 1 : 3))
158                          goto userr;
159 +                if (autolabel && thislabel == NULL)
160 +                        thislabel = argv[an];
161                  if (!strcmp(argv[an], "-")) {
162                          input[nfile].name = "<stdin>";
163                          input[nfile].fp = stdin;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines