(n != (char *) NULL) &&
(strcmp(n,root->attributes[i][0]) != 0))
i++;
- while ((*(n=xml+strspn(xml+1,XMLWhitespace)+1) != '\0') &&
- (*n != '>'))
+ xml++;
+ while ((*(n=xml+strspn(xml,XMLWhitespace)) != '\0') && (*n != '>'))
{
xml=n+strcspn(n,XMLWhitespace);
if (*xml != '\0')
if(magic_info->name == (char *) NULL) goto FINISH_UNL;
(void) strncpy(clone_info->magick,magic_info->name,MagickPathExtent-1);
+ if (LocaleCompare(image_info->magick,clone_info->magick) == 0)
+ (void) strcpy(clone_info->magick,"PS");
/* Read nested image */
/*FormatString(clone_info->filename,"%s:%s",magic_info->name,postscript_file);*/