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

Comparing ray/src/util/rtcontrib.c (file contents):
Revision 1.40 by greg, Sun Feb 5 22:22:21 2006 UTC vs.
Revision 1.41 by greg, Wed Mar 29 17:31:59 2006 UTC

# Line 567 | Line 567 | addmodifier(char *modn, char *outf, char *binv, int bi
567                  mp = growmodifier(mp, bincnt);
568          lep->data = (char *)mp;
569                                          /* allocate output streams */
570 <        for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i--; )
570 >        for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i-- > 0; )
571                  getostream(mp->outspec, mp->modname, i, 1);
572          return mp;
573   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines