summaryrefslogtreecommitdiff
path: root/lib/libX11
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-25 13:22:42 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-25 13:22:42 +0000
commit8d1e7d0c54fd7d2507a0ebba89a5fa7ffaadc9ea (patch)
treeed94a36e42f177e769aebbc2ad565d9e4bec58d3 /lib/libX11
parent42710414e901768bd661bb644f844e4704f4afce (diff)
Revert local debug stuff that wasn't meant to be committed.
Diffstat (limited to 'lib/libX11')
-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) ||