# | 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)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |