diff -buBr wine.orig/dlls/x11drv/dib.c wine.patched/dlls/x11drv/dib.c
--- wine.orig/dlls/x11drv/dib.c	2003-12-08 22:58:55.000000000 +0100
+++ wine.patched/dlls/x11drv/dib.c	2004-05-18 22:51:29.504308304 +0200
@@ -186,11 +186,6 @@
         {
             RGBQUAD * rgb = (RGBQUAD *)colorPtr;
 
-            if (depth == 1)  /* Monochrome */
-                for (i = start; i < end; i++, rgb++)
-                    colorMapping[i] = (rgb->rgbRed + rgb->rgbGreen +
-                                       rgb->rgbBlue > 255*3/2);
-            else
                 for (i = start; i < end; i++, rgb++)
                     colorMapping[i] = X11DRV_PALETTE_ToPhysical( physDev, RGB(rgb->rgbRed,
                                                                 rgb->rgbGreen,
Tylko w wine.patched/dlls/x11drv: dib.c.orig
diff -buBr wine.orig/objects/dib.c wine.patched/objects/dib.c
--- wine.orig/objects/dib.c	2003-11-17 21:31:29.000000000 +0100
+++ wine.patched/objects/dib.c	2004-05-18 22:51:29.521305720 +0200
@@ -419,12 +419,7 @@
 
 	info->bmiHeader.biClrUsed = 0;
 
-	/* If the bitmap object already has a dib section at the
-	   same color depth then get the color map from it */
-	if (bmp->dib && bmp->dib->dsBm.bmBitsPixel == info->bmiHeader.biBitCount) {
-	    GetDIBColorTable(hdc, 0, 1 << info->bmiHeader.biBitCount, info->bmiColors);
-	}
-        else {
+        {
             if(info->bmiHeader.biBitCount >= bmp->bitmap.bmBitsPixel) {
                 /* Generate the color map from the selected palette */
                 PALETTEENTRY * palEntry;
Tylko w wine.patched/objects: dib.c.orig
