summaryrefslogtreecommitdiff
path: root/lib/libX11/src/ImUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/ImUtil.c')
-rw-r--r--lib/libX11/src/ImUtil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libX11/src/ImUtil.c b/lib/libX11/src/ImUtil.c
index 81f4579ac..83fd030bf 100644
--- a/lib/libX11/src/ImUtil.c
+++ b/lib/libX11/src/ImUtil.c
@@ -385,8 +385,6 @@ Status XInitImage (image)
XImage *image;
{
if (image->depth == 0 || image->depth > 32 ||
- image->bits_per_pixel > 32 || image->bitmap_unit > 32 ||
- image->bits_per_pixel < 0 || image->bitmap_unit < 0 ||
(image->format != XYBitmap &&
image->format != XYPixmap &&
image->format != ZPixmap) ||