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:
break;
default:
ThrowReaderException(CorruptImageError,"CorruptImage");
- }
- switch (header.pixmap_format) {
+ }
+ switch (header.pixmap_format)
+ {
case XYBitmap:
case XYPixmap:
case ZPixmap: