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

Comparing ray/src/cv/ies2rad.c (file contents):
Revision 2.21 by schorsch, Thu Jul 3 22:41:44 2003 UTC vs.
Revision 2.22 by schorsch, Sun Jul 27 22:12:01 2003 UTC

# Line 421 | Line 421 | register char  *kwd, *hdl;
421          while (islower(*hdl) ? toupper(*hdl) == *kwd++ : *hdl == *kwd++)
422                  if (!*hdl++)
423                          return(0);
424 <        return(!*kwd & *hdl == ']');
424 >        return((!*kwd) & (*hdl == ']'));
425   }
426  
427  
# Line 985 | Line 985 | register FILE  *fp;
985                  if (isspace(c) || c == ',') {
986                          while (isspace(c))
987                                  c = getc(fp);
988 <                        if (c != EOF & c != ',')
988 >                        if ((c != EOF) & (c != ','))
989                                  ungetc(c, fp);
990                          *cp = '\0';
991                          return(wrd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines