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

Comparing ray/src/px/protate.c (file contents):
Revision 2.1 by greg, Tue Nov 12 16:04:09 1991 UTC vs.
Revision 2.3 by greg, Wed Feb 1 09:52:34 1995 UTC

# Line 21 | Line 21 | int    xres, yres;                     /* input resolution */
21  
22   int     correctorder = 0;               /* order correction? */
23  
24 + #ifdef BIGMEM
25 + char    buf[1<<22];                     /* output buffer */
26 + #else
27   char    buf[1<<20];                     /* output buffer */
28 + #endif
29  
30   int     nrows;                          /* number of rows output at once */
31  
# Line 63 | Line 67 | char   *argv[];
67                  exit(1);
68          }
69                                          /* add new header info. */
70 <        printf("%s\n\n", progname);
70 >        printf("%s%s\n\n", progname, correctorder?" -c":"");
71                                          /* get picture size */
72          if ((order = fgetresolu(&xres, &yres, fin)) < 0) {
73                  fprintf(stderr, "%s: bad picture size\n", progname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines