p=image->directory;
for (i=tile; (i != 0) && (*p != '\0'); )
{
- if (*p == '\n')
+ if (*p == '\377')
i--;
p++;
}
*image_view;
q=p;
- while ((*q != '\n') && (*q != '\0'))
+ while ((*q != '\377') && (*q != '\0'))
q++;
(void) CopyMagickString(filename,p,(size_t) (q-p+1));
p=q;
for (d=image->directory; *d != '\0'; d++)
{
q=d;
- while ((*q != '\n') && (*q != '\0') &&
+ while ((*q != '\377') && (*q != '\0') &&
((size_t) (q-d) < sizeof(image_info->filename)))
q++;
(void) CopyMagickString(image_info->filename,d,(size_t) (q-d+1));
{
(void) ConcatenateMagickString(montage->directory,
image_list[tile]->filename,extent);
- (void) ConcatenateMagickString(montage->directory,"\n",extent);
+ (void) ConcatenateMagickString(montage->directory,"\377",extent);
tile++;
}
progress_monitor=SetImageProgressMonitor(montage,(MagickProgressMonitor)
(void) FormatLocaleString(buffer,MagickPathExtent,
"<map id=\"%s\" name=\"%s\">\n",mapname,mapname);
(void) WriteBlobString(image,buffer);
- (void) FormatLocaleString(buffer,MagickPathExtent," <area href=\"%s",url);
+ (void) FormatLocaleString(buffer,MagickPathExtent," <area href=\"%s",
+ url);
(void) WriteBlobString(image,buffer);
if (image->directory == (char *) NULL)
{
}
else
for (p=image->directory; *p != '\0'; p++)
- if (*p != '\n')
+ if (*p != '\377')
(void) WriteBlobByte(image,(unsigned char) *p);
else
{
}
else
for (p=image->directory; *p != '\0'; p++)
- if (*p != '\n')
+ if (*p != '\377')
(void) WriteBlobByte(image,(unsigned char) *p);
else
{
while (*p != '\0')
{
q=p;
- while ((*q != '\n') && (*q != '\0'))
+ while ((*q != '\377') && (*q != '\0'))
q++;
(void) CopyMagickString(image_info->filename,p,(size_t) (q-p+1));
p=q+1;