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

Comparing ray/src/cal/neat.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:20 2003 UTC vs.
Revision 1.4 by schorsch, Fri Nov 14 17:31:24 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *      10/24/86
8   */
9  
10 + #include  <stdlib.h>
11   #include  <stdio.h>
12  
13   #include  <ctype.h>
# Line 15 | Line 16 | static const char      RCSid[] = "$Id$";
16   char  *format = "8.8";                  /* default format */
17  
18  
19 + int
20   main(argc, argv)
21   int  argc;
22   char  *argv[];
# Line 32 | Line 34 | char  *argv[];
34          for (cp = format; isdigit(*cp); cp++)
35                  left = left*10 + *cp - '0';
36          right = 0;
37 <        if (anchor = *cp)
37 >        if ( (anchor = *cp) )
38                  for (cp++; isdigit(*cp); cp++)
39                          right = right*10 + *cp - '0';
40          if (*cp)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines