Changeset 11144 for trunk/psModules/src/concepts/pmConceptsPhotcode.c
- Timestamp:
- Jan 18, 2007, 3:19:34 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsPhotcode.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsPhotcode.c
r11104 r11144 40 40 return photcode; 41 41 } 42 43 char *pmConceptsFilterIDfromConcept (char *concept, psMetadata *concepts, psMetadata *camera)44 {45 46 bool status;47 48 char *filterName = psMetadataLookupStr (&status, concepts, concept);49 if (!status)50 psAbort ("psModules", "missing concept %s", concept);51 psMetadata *filterTable = psMetadataLookupPtr (&status, camera, "FILTER.ID");52 if (!status)53 psAbort ("ppImage", "missing FILTER.ID table");54 char *filter = psMetadataLookupStr (&status, filterTable, filterName);55 if (!status)56 psAbort ("ppImage", "FILTER %s not found in FILTER.ID table", filterName);57 58 return filter;59 }60
Note:
See TracChangeset
for help on using the changeset viewer.
