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

Comparing ray/src/common/objutil.c (file contents):
Revision 2.8 by greg, Tue Jun 23 19:29:40 2020 UTC vs.
Revision 2.10 by greg, Fri Dec 18 00:15:47 2020 UTC

# Line 460 | Line 460 | findDuplicateFaces(Scene *sc)
460                          ++nfound;
461                  }
462          }
463 +        if (verbose)
464 +                fprintf(stderr, "Found %d duplicate faces\n", nfound);
465          return(nfound);
466   }
467  
# Line 555 | Line 557 | findComment(Scene *sc, const char *match, int n)
557                  return(-1);
558          n *= (n > 0);
559          while (n < sc->ndescr)
560 <                if (strcasestr(sc->descr[n], match) != NULL)
560 >                if (strstr(sc->descr[n], match) != NULL)
561                          return(n);
562          return(-1);
563   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines