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

Comparing ray/src/px/ra_t16.c (file contents):
Revision 1.14 by greg, Fri Aug 23 13:40:04 1991 UTC vs.
Revision 1.15 by greg, Mon Nov 11 14:01:40 1991 UTC

# Line 15 | Line 15 | static char SCCSid[] = "$SunId$ LBL";
15  
16   #include  "color.h"
17  
18 + #include  "resolu.h"
19 +
20   #include  "random.h"
21  
22   #include  "targa.h"
# Line 105 | Line 107 | char  *argv[];
107                  printargs(i, argv, stdout);
108                  fputformat(COLRFMT, stdout);
109                  putchar('\n');
110 <                fputresolu(YMAJOR|YDECR, head.x, head.y, stdout);
110 >                fprtresolu(head.x, head.y, stdout);
111                                          /* convert file */
112                  tg2ra(&head);
113          } else {
114                  if (checkheader(stdin, COLRFMT, NULL) < 0 ||
115 <                        fgetresolu(&head.x, &head.y, stdin) != (YMAJOR|YDECR))
115 >                                fgetresolu(&head.x, &head.y, stdin) < 0)
116                          quiterr("bad picture file");
117                                          /* assign header */
118                  head.textSize = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines