Correct the directory sentinal
authorCristy <urban-warrior@imagemagick.org>
Sun, 13 Oct 2019 13:07:15 +0000 (09:07 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 13 Oct 2019 13:07:15 +0000 (09:07 -0400)
MagickCore/display.c

index d60fa943c6d2adc97814724a6b25cfc48e13cc81..50c39b732d59b3fb45bbf8d876c30d08438ec727 100644 (file)
@@ -13179,7 +13179,7 @@ static Image *XTileImage(Display *display,XResourceInfo *resource_info,
   if (id < 0)
     return((Image *) NULL);
   q=p;
-  while ((*q != '\n') && (*q != '\0'))
+  while ((*q != '\xff') && (*q != '\0'))
     q++;
   (void) CopyMagickString(filename,p,(size_t) (q-p+1));
   /*