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

Comparing ray/src/rt/pmapdump.c (file contents):
Revision 2.5 by greg, Tue Sep 1 16:27:52 2015 UTC vs.
Revision 2.6 by rschregle, Thu Feb 4 19:39:10 2016 UTC

# Line 127 | Line 127 | int main (int argc, char** argv)
127        
128        /* Identify photon map type from format string */
129        for (ptype = 0;
130 <           strcmp(pmapFormat [ptype], format) && ptype < NUM_PMAP_TYPES;
130 >           ptype < NUM_PMAP_TYPES && strcmp(pmapFormat [ptype], format);
131             ptype++);
132        
133        if (!validPmapType(ptype)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines