- Timestamp:
- Jan 11, 2012, 11:19:21 PM (15 years ago)
- Location:
- branches/meh_branches/ppsub_test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppsub_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppsub_test/psModules
- Property svn:mergeinfo set to
-
branches/meh_branches/ppsub_test/psModules/src/concepts/pmConceptsStandard.c
r30049 r33098 751 751 bool has_video_cell = false; 752 752 753 if (concept->type != PS_DATA_STRING) { 754 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Type for %s (%x) is not string\n", 755 concept->name, concept->type); 756 return NULL; 757 } 758 759 char *Vptr = strchr(concept->data.V,'V'); 760 if (Vptr) { 761 has_video_cell = true; 753 if (concept->type == PS_DATA_BOOL) { 754 has_video_cell = concept->data.B; 755 } else { 756 if (concept->type != PS_DATA_STRING) { 757 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Type for %s (%x) is not string\n", 758 concept->name, concept->type); 759 return NULL; 760 } 761 762 char *Vptr = strchr(concept->data.V,'V'); 763 if (Vptr) { 764 has_video_cell = true; 765 } 762 766 } 763 767
Note:
See TracChangeset
for help on using the changeset viewer.
