name[i++]=(char) c;
}
name[i]='\0';
- value=AcquireString(name);
+ value=ConstantString(name);
(void) SubstituteString(&value,"#20"," ");
- (void) SetImageProperty(image,property,value,exception);
+ if (*value != '\0')
+ (void) SetImageProperty(image,property,value,exception);
value=DestroyString(value);
continue;
}
(void) SubstituteString(&value,"(","");
(void) SubstituteString(&value,")","");
(void) StripString(value);
- (void) SetImageProperty(image,property,value,exception);
+ if (*value != '\0')
+ (void) SetImageProperty(image,property,value,exception);
value=DestroyString(value);
continue;
}