Braille format support fix

Samuel Thibault <[email protected]> Fri, 27 Mar 2009 10:57:35 +0100
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

There is a bug in the braille coder which makes it always segfault, see
attached patch: the braille format does not support several images.  I
guess I had copy/pasted too many lines without noticing that precise
line.

BTW, "UBRL" is mentioned in the testsuite, but it doesn't seem to be
tested, I can not see way, any idea?

Samuel

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

--- coders/braille.c.orig	2009-03-27 10:22:49.000000000 +0100
+++ coders/braille.c	2009-03-27 10:22:52.000000000 +0100
@@ -328,7 +328,6 @@
     }
     if (!iso_11548_1)
       (void) WriteBlobByte(image,'\n');
-    image=SyncNextImageInList(image);
     status=SetImageProgress(image,SaveImageTag,y,image->rows);
     if (status == MagickFalse)
       break;

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Magick-developers mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-developers

--2fHTh5uZTiUOsy+g--