From eae89c67d8e28ea5b6eeaa5dd5f760779cd509a3 Mon Sep 17 00:00:00 2001 From: chengyemao Date: Tue, 26 Mar 2002 20:13:39 +0000 Subject: Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255) --- win/tkWinImage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/tkWinImage.c b/win/tkWinImage.c index 448ad72..e4a153b 100644 --- a/win/tkWinImage.c +++ b/win/tkWinImage.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinImage.c,v 1.3 2000/01/06 02:22:51 hobbs Exp $ + * RCS: @(#) $Id: tkWinImage.c,v 1.4 2002/03/26 20:13:39 chengyemao Exp $ */ #include "tkWinInt.h" @@ -221,7 +221,7 @@ XCreateImage(display, visual, depth, format, offset, data, width, height, imagePtr->data = data; imagePtr->byte_order = LSBFirst; imagePtr->bitmap_unit = 8; - imagePtr->bitmap_bit_order = MSBFirst; + imagePtr->bitmap_bit_order = LSBFirst; imagePtr->bitmap_pad = bitmap_pad; imagePtr->bits_per_pixel = depth; imagePtr->depth = depth; -- cgit v0.12