ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver] / hacks / barcode.c
index fc61a59dcfee08965dd2fba903e0762a8840ccc4..b15784814e7f82e0a7b13e8feab823562ec04adc 100644 (file)
@@ -1529,6 +1529,8 @@ static void setup (void)
     theImage = XCreateImage(display, visual, 1, XYBitmap, 0, theBitmap->buf,
                            theBitmap->width, theBitmap->height, 8,
                            theBitmap->widthBytes);
+    theImage->bitmap_bit_order = LSBFirst;
+    theImage->byte_order       = LSBFirst;
 }