Changeset 32941
- Timestamp:
- Dec 13, 2011, 11:11:04 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsStandard.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsStandard.c
r30049 r32941 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.
