2011-10-07 09:06:36 +00:00
|
|
|
http://trac.imagemagick.org/changeset/5359
|
2011-10-07 08:24:21 +00:00
|
|
|
Index: magick/display.c
|
|
|
|
===================================================================
|
|
|
|
--- magick/display.c
|
|
|
|
+++ magick/display.c
|
|
|
|
@@ -14578,7 +14578,7 @@
|
|
|
|
Window name is the base of the filename.
|
|
|
|
*/
|
|
|
|
GetPathComponent(display_image->magick_filename,TailPath,filename);
|
|
|
|
- if (GetImageListLength(display_image) == 1)
|
|
|
|
+ if (display_image->scene == 0)
|
|
|
|
(void) FormatLocaleString(windows->image.name,MaxTextExtent,
|
|
|
|
"%s: %s",MagickPackageName,filename);
|
|
|
|
else
|
|
|
|
Index: wand/display.c
|
|
|
|
===================================================================
|
|
|
|
--- wand/display.c
|
|
|
|
+++ wand/display.c
|
|
|
|
@@ -667,6 +667,7 @@
|
|
|
|
state|=ExitState;
|
|
|
|
if (LocaleCompare(filename,"-") == 0)
|
|
|
|
state|=ExitState;
|
|
|
|
+ RemoveAllImageStack();
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
pend=image != (Image *) NULL ? MagickTrue : MagickFalse;
|
|
|
|
|