}
}
// MOVED THIS UP NOW THAT char * IS A NORMAL CLASS
- else if(computed.type == stringExp)
+ else if(computed.type == stringExp && propertyClass.dataTypeString && strstr(propertyClass.dataTypeString, "char *"))
{
char temp[1024];
ReadString(temp, computed.string);
valueData.i64 = value.i64;
SetProperty(prop, instance, valueData);
}
- else if(computed.type == stringExp)
+ else if(computed.type == stringExp && propertyClass.dataTypeString && strstr(propertyClass.dataTypeString, "char *"))
{
char temp[1024];
ReadString(temp, computed.string);
}
}
// MOVED THIS UP NOW THAT char * IS A NORMAL CLASS
- else if(computed.isConstant && computed.type == stringExp && (propertyClass.dataTypeString && !strcmp(propertyClass.dataTypeString, "char *")))
+ else if(computed.isConstant && computed.type == stringExp && propertyClass.dataTypeString && strstr(propertyClass.dataTypeString, "char *"))
{
char temp[1024];
ReadString(temp, computed.string);
else
prop.Set(control, strtol(computed.constant, null, 0));
}
- else if(computed.type == stringExp && (propertyClass.dataTypeString && !strcmp(propertyClass.dataTypeString, "char *"))) // || (!strcmp(propertyClass.name, "String"))))
+ else if(computed.type == stringExp && propertyClass.dataTypeString && strstr(propertyClass.dataTypeString, "char *"))
{
char temp[1024];
ReadString(temp, computed.string);