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

Comparing ray/src/util/setscan.c (file contents):
Revision 1.1 by greg, Tue Mar 12 13:07:40 1991 UTC vs.
Revision 1.2 by greg, Wed Mar 13 16:23:49 1991 UTC

# Line 7 | Line 7
7   #include <ctype.h>
8  
9   #define  ANGLE          short
10 < #define  AEND           (-11111)
10 > #define  AEND           (-1)
11  
12   setscan(ang, arg)                       /* set up scan according to arg */
13   register ANGLE  *ang;
# Line 34 | Line 34 | register char  *arg;
34                  default:
35                          return(-1);
36                  }
37 <                if (!isdigit(*arg) && *arg != '-' && *arg != '+')
37 >                if (!isdigit(*arg))
38                          return(-1);
39                  do
40                          arg++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines