if (depth != 1)
if ((depth != 1) || (width > MAXSHORT) || (height > MAXSHORT))
mfbCreatePixmap (pScreen, width, height, depth)    ScreenPtr	pScreen;    int		width;    int		height;    int		depth;{    PixmapPtr pPixmap;    int datasize;    int paddedWidth;    if (depth != 1)	return NullPixmap;    paddedWidth = BitmapBytePad(width);    datasize = height * paddedWidth;    pPixmap = AllocatePixmap(pScreen, datasize);    if (!pPixmap)	return NullPixmap;    pPixmap->drawable.type = DRAWABLE_PIXMAP;    pPixmap->drawable.class = 0;    pPixmap->drawable.pScreen = pScreen;    pPixmap->drawable.depth = depth;    pPixmap->drawable.bitsPerPixel = depth;    pPixmap->drawable.id = 0;    pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;    pPixmap->drawable.x = 0;    pPixmap->drawable.y = 0;    pPixmap->drawable.width = width;    pPixmap->drawable.height = height;    pPixmap->devKind = paddedWidth;    pPixmap->refcnt = 1;#ifdef PIXPRIV    pPixmap->devPrivate.ptr =  datasize ?		(pointer)((char *)pPixmap + pScreen->totalPixmapSize) : NULL;#else    pPixmap->devPrivate.ptr = (pointer)(pPixmap + 1);#endif    return pPixmap;}