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

Comparing ray/src/px/ttyimage.c (file contents):
Revision 1.7 by greg, Thu Apr 18 14:35:47 1991 UTC vs.
Revision 1.8 by greg, Mon Nov 11 14:01:29 1991 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
1 > /* Copyright (c) 1991 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 13 | Line 13 | static char SCCSid[] = "$SunId$ LBL";
13   #include  <stdio.h>
14  
15   #include  "color.h"
16 + #include  "resolu.h"
17  
18  
19   #define  NCOLS          133
# Line 36 | Line 37 | char  **argv;
37          
38                                  /* get picture dimensions */
39          if (checkheader(input, COLRFMT, NULL) < 0 ||
40 <                        fgetresolu(&xres, &yres, input) != (YMAJOR|YDECR)) {
40 >                        fgetresolu(&xres, &yres, input) < 0) {
41                  fprintf(stderr, "%s: bad picture format\n", argv[0]);
42                  exit(1);
43          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines