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

Comparing ray/src/px/pcomb.c (file contents):
Revision 1.22 by greg, Mon Aug 19 13:43:33 1991 UTC vs.
Revision 1.23 by greg, Mon Nov 11 14:01:24 1991 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #include "color.h"
18  
19 + #include  "resolu.h"
20 +
21   #include "calcomp.h"
22  
23   #define MAXINP          32              /* maximum number of input files */
# Line 181 | Line 183 | char   *argv[];
183          printargs(argc, argv, stdout);
184          fputformat(COLRFMT, stdout);
185          putchar('\n');
186 <        fputresolu(YMAJOR|YDECR, xres, yres, stdout);
186 >        fprtresolu(xres, yres, stdout);
187                                                  /* combine pictures */
188          combine();
189          quit(0);
# Line 232 | Line 234 | checkfile()                    /* ready a file */
234                  eputs(": not in Radiance picture format\n");
235                  quit(1);
236          }
237 <        if (fgetresolu(&xinp, &yinp, input[nfiles].fp) != (YMAJOR|YDECR)) {
237 >        if (fgetresolu(&xinp, &yinp, input[nfiles].fp) < 0) {
238                  eputs(input[nfiles].name);
239                  eputs(": bad picture size\n");
240                  quit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines