]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 4 Apr 2019 11:55:03 +0000 (07:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 4 Apr 2019 11:55:03 +0000 (07:55 -0400)
coders/xwd.c

index b51410c884ee98a57465a85684d0e3a2032aeb5a..4e8a0bc41447240f5cf2012b395a4cb9f11bc1c2 100644 (file)
@@ -237,7 +237,8 @@ static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)
     ThrowReaderException(CorruptImageError,"FileFormatVersionMismatch");
   if (header.header_size < sz_XWDheader)
     ThrowReaderException(CorruptImageError,"CorruptImage");
-  switch (header.visual_class) {
+  switch (header.visual_class)
+  {
     case StaticGray:
     case GrayScale:
     case StaticColor:
@@ -247,8 +248,9 @@ static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)
       break;
     default:
       ThrowReaderException(CorruptImageError,"CorruptImage");
-    }
-  switch (header.pixmap_format) {
+  }
+  switch (header.pixmap_format)
+  {
     case XYBitmap:
     case XYPixmap:
     case ZPixmap: