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

Comparing ray/src/common/words.c (file contents):
Revision 1.3 by greg, Thu Jul 25 14:36:49 1991 UTC vs.
Revision 2.1 by greg, Tue Nov 12 16:56:04 1991 UTC

# Line 69 | Line 69 | char *
69   fskip(s)                        /* skip float in string */
70   register char  *s;
71   {
72 <        register char  *cp = s;
72 >        register char  *cp;
73  
74 <        while (isspace(*cp))
75 <                cp++;
76 <        if (*cp == '-' || *cp == '+')
77 <                cp++;
78 <        s = cp;
74 >        while (isspace(*s))
75 >                s++;
76 >        if (*s == '-' || *s == '+')
77 >                s++;
78 >        cp = s;
79          while (isdigit(*cp))
80                  cp++;
81          if (*cp == '.') {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines